wok-undigest annotate ncurses/receipt @ rev 1223
copied libxext recipe from wok-next
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 17:38:29 2019 +0100 (2019-11-15) |
parents | |
children |
rev | line source |
---|---|
psychomaniak@1181 | 1 # SliTaz package receipt. |
psychomaniak@1181 | 2 |
psychomaniak@1181 | 3 PACKAGE="ncurses" |
psychomaniak@1181 | 4 VERSION="5.9" |
psychomaniak@1181 | 5 CATEGORY="base-system" |
psychomaniak@1181 | 6 SHORT_DESC="Library of functions to manage display on terminals." |
psychomaniak@1181 | 7 MAINTAINER="pankso@slitaz.org" |
psychomaniak@1181 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@1181 | 9 LICENSE="MIT" |
psychomaniak@1181 | 10 WEB_SITE="http://invisible-island.net/ncurses/" |
psychomaniak@1181 | 11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" |
psychomaniak@1181 | 12 HOST_ARCH="i486 arm" |
psychomaniak@1181 | 13 |
psychomaniak@1181 | 14 DEPENDS="ncurses-common libtinfo libtic" |
psychomaniak@1181 | 15 BUILD_DEPENDS="" |
psychomaniak@1181 | 16 |
psychomaniak@1181 | 17 # Rules to configure and make the package. |
psychomaniak@1181 | 18 compile_rules() |
psychomaniak@1181 | 19 { |
psychomaniak@1181 | 20 # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And |
psychomaniak@1181 | 21 # when cross compiling we can't use the freshly cooked binary. See cook log: |
psychomaniak@1181 | 22 # |
psychomaniak@1181 | 23 #** Building terminfo database, please wait... |
psychomaniak@1181 | 24 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo |
psychomaniak@1181 | 25 # |
psychomaniak@1181 | 26 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then |
psychomaniak@1181 | 27 echo "Installing: ncursesw-extra" |
psychomaniak@1181 | 28 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null |
psychomaniak@1181 | 29 fi |
psychomaniak@1181 | 30 cd $src |
psychomaniak@1181 | 31 mkdir -p $DESTDIR/usr/lib/terminfo |
psychomaniak@1181 | 32 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
psychomaniak@1181 | 33 include/Makefile.in |
psychomaniak@1181 | 34 ./configure \ |
psychomaniak@1181 | 35 --libdir=/lib \ |
psychomaniak@1181 | 36 --sysconfdir=/etc \ |
psychomaniak@1181 | 37 --with-shared \ |
psychomaniak@1181 | 38 --without-debug \ |
psychomaniak@1181 | 39 --without-ada \ |
psychomaniak@1181 | 40 --with-build-cc="gcc -D_GNU_SOURCE" \ |
psychomaniak@1181 | 41 --with-termlib \ |
psychomaniak@1181 | 42 --with-ticlib \ |
psychomaniak@1181 | 43 $CONFIGURE_ARGS && |
psychomaniak@1181 | 44 make && make install |
psychomaniak@1181 | 45 } |
psychomaniak@1181 | 46 |
psychomaniak@1181 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@1181 | 48 genpkg_rules() |
psychomaniak@1181 | 49 { |
psychomaniak@1181 | 50 mkdir -p $fs/lib |
psychomaniak@1181 | 51 cp -a $install/lib/libncurses.so* $fs/lib |
psychomaniak@1181 | 52 } |