42 lines
931 B
Plaintext
42 lines
931 B
Plaintext
|
# Description: A System V Release 4.0 curses emulation library
|
||
|
# URL: http://www.gnu.org/software/ncurses/ncurses.html
|
||
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||
|
|
||
|
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 \
|
||
|
--without-tests
|
||
|
"
|
||
|
|
||
|
./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}
|
||
|
}
|