summaryrefslogtreecommitdiffstats
path: root/ncurses/Pkgfile.old
diff options
context:
space:
mode:
Diffstat (limited to 'ncurses/Pkgfile.old')
-rw-r--r--ncurses/Pkgfile.old39
1 files changed, 39 insertions, 0 deletions
diff --git a/ncurses/Pkgfile.old b/ncurses/Pkgfile.old
new file mode 100644
index 0000000..5da12eb
--- /dev/null
+++ b/ncurses/Pkgfile.old
@@ -0,0 +1,39 @@
+# 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
+version=5.7
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.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
+}