r1417 - crux-2.2/ports/core/ncurses
Author: tilman Date: 2006-05-20 16:11:41 +0200 (Sat, 20 May 2006) New Revision: 1417 Modified: crux-2.2/ports/core/ncurses/.footprint crux-2.2/ports/core/ncurses/Pkgfile Log: ncurses: include wide character (unicode) libraries Modified: crux-2.2/ports/core/ncurses/.footprint =================================================================== --- crux-2.2/ports/core/ncurses/.footprint 2006-05-18 18:20:38 UTC (rev 1416) +++ crux-2.2/ports/core/ncurses/.footprint 2006-05-20 14:11:41 UTC (rev 1417) @@ -1,6 +1,8 @@ drwxr-xr-x root/root lib/ lrwxrwxrwx root/root lib/libncurses.so.5 -> libncurses.so.5.5 -rw-r--r-- root/root lib/libncurses.so.5.5 +lrwxrwxrwx root/root lib/libncursesw.so.5 -> libncursesw.so.5.5 +-rw-r--r-- root/root lib/libncursesw.so.5.5 drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ lrwxrwxrwx root/root usr/bin/captoinfo -> tic @@ -34,22 +36,39 @@ drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libcurses.a -> libncurses.a lrwxrwxrwx root/root usr/lib/libcurses.so -> libncurses.so +lrwxrwxrwx root/root usr/lib/libcursesw.so -> libncursesw.so -rw-r--r-- root/root usr/lib/libform.a lrwxrwxrwx root/root usr/lib/libform.so -> libform.so.5 lrwxrwxrwx root/root usr/lib/libform.so.5 -> libform.so.5.5 -rw-r--r-- root/root usr/lib/libform.so.5.5 +-rw-r--r-- root/root usr/lib/libformw.a +lrwxrwxrwx root/root usr/lib/libformw.so -> libformw.so.5 +lrwxrwxrwx root/root usr/lib/libformw.so.5 -> libformw.so.5.5 +-rw-r--r-- root/root usr/lib/libformw.so.5.5 -rw-r--r-- root/root usr/lib/libmenu.a lrwxrwxrwx root/root usr/lib/libmenu.so -> libmenu.so.5 lrwxrwxrwx root/root usr/lib/libmenu.so.5 -> libmenu.so.5.5 -rw-r--r-- root/root usr/lib/libmenu.so.5.5 +-rw-r--r-- root/root usr/lib/libmenuw.a +lrwxrwxrwx root/root usr/lib/libmenuw.so -> libmenuw.so.5 +lrwxrwxrwx root/root usr/lib/libmenuw.so.5 -> libmenuw.so.5.5 +-rw-r--r-- root/root usr/lib/libmenuw.so.5.5 -rwxr-xr-x root/root usr/lib/libncurses++.a +-rwxr-xr-x root/root usr/lib/libncurses++w.a -rw-r--r-- root/root usr/lib/libncurses.a lrwxrwxrwx root/root usr/lib/libncurses.so -> ../../lib/libncurses.so.5 lrwxrwxrwx root/root usr/lib/libncurses.so.5 -> ../../lib/libncurses.so.5 +-rw-r--r-- root/root usr/lib/libncursesw.a +lrwxrwxrwx root/root usr/lib/libncursesw.so -> ../../lib/libncursesw.so.5 +lrwxrwxrwx root/root usr/lib/libncursesw.so.5 -> ../../lib/libncursesw.so.5 -rw-r--r-- root/root usr/lib/libpanel.a lrwxrwxrwx root/root usr/lib/libpanel.so -> libpanel.so.5 lrwxrwxrwx root/root usr/lib/libpanel.so.5 -> libpanel.so.5.5 -rw-r--r-- root/root usr/lib/libpanel.so.5.5 +-rw-r--r-- root/root usr/lib/libpanelw.a +lrwxrwxrwx root/root usr/lib/libpanelw.so -> libpanelw.so.5 +lrwxrwxrwx root/root usr/lib/libpanelw.so.5 -> libpanelw.so.5.5 +-rw-r--r-- root/root usr/lib/libpanelw.so.5.5 lrwxrwxrwx root/root usr/lib/terminfo -> ../share/terminfo drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ Modified: crux-2.2/ports/core/ncurses/Pkgfile =================================================================== --- crux-2.2/ports/core/ncurses/Pkgfile 2006-05-18 18:20:38 UTC (rev 1416) +++ crux-2.2/ports/core/ncurses/Pkgfile 2006-05-20 14:11:41 UTC (rev 1417) @@ -4,22 +4,36 @@ name=ncurses version=5.5 -release=1 +release=2 source=(http://mirrors.sunsite.dk/gnu/$name/$name-$version.tar.gz) build() { cd $name-$version - ./configure --with-install-prefix=$PKG \ - --prefix=/usr \ - --with-normal \ - --with-shared \ - --without-debug \ - --without-ada + + 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 - mv $PKG/usr/lib/libncurses.so.* $PKG/lib - ln -sf libncurses.so $PKG/usr/lib/libcurses.so - ln -sf ../../lib/libncurses.so.5 $PKG/usr/lib/libncurses.so - ln -sf ../../lib/libncurses.so.5 $PKG/usr/lib/libncurses.so.5 + + 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 }
participants (1)
-
crux@crux.nu