diff options
author | Lukc <lukc@upyum.com> | 2010-12-11 19:15:23 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-11 19:15:35 +0100 |
commit | 6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch) | |
tree | b5e6da6d95b9a1235d82032b509b80483a886ff5 /ncurses/Pkgfile | |
download | base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2 base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip |
Engagement initial.
Diffstat (limited to 'ncurses/Pkgfile')
-rw-r--r-- | ncurses/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ncurses/Pkgfile b/ncurses/Pkgfile new file mode 100644 index 0000000..ffc2a4d --- /dev/null +++ b/ncurses/Pkgfile @@ -0,0 +1,28 @@ +description="A System V Release 4.0 curses emulation library" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://www.gnu.org/software/ncurses/ncurses.html" +depends=() + +name=ncurses +version=5.7 +release=1 +source=(http://ftp.gnu.org/gnu/ncurses/ncurses-5.7.tar.gz) +build () +{ + cd $name-$version; + local OPTIONS="--with-install-prefix=$PKG --prefix=/usr --with-normal --with-shared --without-debug --without-ada +"; + ./configure $OPTIONS; + make; + make install; + make distclean; + ./configure $OPTIONS --enable-widec; + make; + make install; + mkdir $PKG/lib; + for i in w ''; + do + mv $PKG/usr/lib/libncurses$i.so.* $PKG/lib && ln -sf libncurses$i.so $PKG/usr/lib/libcurses$i.so && ln -sf ../../lib/libncurses$i.so.5 $PKG/usr/lib/libncurses$i.so && ln -sf ../../lib/libncurses$i.so.5 $PKG/usr/lib/libncurses$i.so.5; + done +} |