64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
|
# Tanım: Libraries for terminal-independent handling of character screens.
|
|||
|
# URL: http://www.gnu.org/software/ncurses/ncurses.html
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler:
|
|||
|
|
|||
|
isim=ncurses
|
|||
|
surum=6.0
|
|||
|
devir=1
|
|||
|
|
|||
|
kaynak=(ftp://invisible-island.net/ncurses/ncurses-$surum.tar.gz)
|
|||
|
|
|||
|
derle()
|
|||
|
{
|
|||
|
cd ncurses-$surum
|
|||
|
|
|||
|
sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in
|
|||
|
|
|||
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
|||
|
-infodir=/usr/share/info --without-normal \
|
|||
|
--with-shared --bindir=/bin --sbindir=/sbin \
|
|||
|
--libdir=/lib --without-debug --enable-pc-files \
|
|||
|
--enable-widec --with-install-prefix=$PKG
|
|||
|
|
|||
|
make
|
|||
|
|
|||
|
make install
|
|||
|
|
|||
|
mkdir -p $PKG/lib
|
|||
|
|
|||
|
for lib in ncurses form panel menu ; do \
|
|||
|
rm -vf $PKG/lib/lib${lib}.so ; \
|
|||
|
echo "INPUT(-l${lib}w)" >$PKG/lib/lib${lib}.so ; \
|
|||
|
ln -sfv lib${lib}w.a $PKG/lib/lib${lib}.a ; \
|
|||
|
done
|
|||
|
ln -sfv libncurses++w.a $PKG/lib/libncurses++.a
|
|||
|
rm -vf $PKG/usr/lib/libcursesw.so
|
|||
|
echo "INPUT(-lncursesw)" >$PKG/lib/libcursesw.so
|
|||
|
ln -sfv libncurses.so $PKG/lib/libcurses.so
|
|||
|
ln -sfv libncursesw.a $PKG/lib/libcursesw.a
|
|||
|
ln -sfv libncurses.a $PKG/lib/libcurses.a
|
|||
|
|
|||
|
make distclean
|
|||
|
|
|||
|
./configure --prefix=/usr --with-shared --without-normal \
|
|||
|
--mandir=/usr/share/man --infodir=/usr/share/info \
|
|||
|
--bindir=/bin --sbindir=/sbin --libdir=/lib \
|
|||
|
--without-debug --without-cxx-binding --with-install-prefix=$PKG
|
|||
|
|
|||
|
make sources libs
|
|||
|
|
|||
|
cp -av lib/lib*.so.6* $PKG/lib
|
|||
|
|
|||
|
rm -rf $PKG/usr/lib/terminfo
|
|||
|
|
|||
|
mkdir $PKG/lib/ncurses
|
|||
|
for DIR in terminfo tabset
|
|||
|
do
|
|||
|
mv -v $PKG/usr/share/$DIR \
|
|||
|
$PKG/lib/ncurses
|
|||
|
ln -sv ../../lib/ncurses/$DIR $PKG/usr/share/$DIR
|
|||
|
done
|
|||
|
|
|||
|
}
|