2012-11-21 11:12:43 -06:00
|
|
|
# Description: A System V Release 4.0 curses emulation library
|
|
|
|
# URL: http://www.gnu.org/software/ncurses/ncurses.html
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=ncurses-32
|
|
|
|
version=5.9
|
|
|
|
release=1
|
|
|
|
source=(http://ftp.gnu.org/gnu/ncurses/ncurses-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ncurses-$version
|
|
|
|
|
|
|
|
local OPTIONS="\
|
|
|
|
--with-install-prefix=$PKG \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--with-normal \
|
|
|
|
--with-shared \
|
|
|
|
--without-debug \
|
|
|
|
--without-ada \
|
2013-04-07 18:21:43 +10:00
|
|
|
--without-tests \
|
|
|
|
--without-gpm
|
2012-11-21 11:12:43 -06:00
|
|
|
"
|
|
|
|
|
|
|
|
./configure $OPTIONS
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
make distclean
|
|
|
|
|
|
|
|
./configure $OPTIONS --enable-widec
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
|
|
|
|
mkdir $PKG/lib32
|
|
|
|
|
|
|
|
for i in w ''; do
|
|
|
|
mv $PKG/usr/lib32/libncurses$i.so.* $PKG/lib32
|
|
|
|
ln -sf libncurses$i.so $PKG/usr/lib32/libcurses$i.so
|
|
|
|
ln -sf ../../lib32/libncurses$i.so.$version $PKG/usr/lib32/libncurses$i.so
|
|
|
|
done
|
|
|
|
rm -rf $PKG/usr/{bin,include,share,man}
|
|
|
|
}
|