wok annotate ncurses/receipt @ rev 21217

updated scim-tables* (0.5.9 -> 0.5.14.1)
author Hans-G?nter Theisgen
date Tue Apr 09 17:52:52 2019 +0100 (2019-04-09)
parents 1feee7ca564d
children 94ece03c2cb1
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="ncurses"
slaxemulator@9487 4 VERSION="5.9"
pankso@210 5 CATEGORY="base-system"
pascal@2086 6 SHORT_DESC="Library of functions to manage display on terminals."
pankso@7 7 MAINTAINER="pankso@slitaz.org"
pankso@7 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15601 9 LICENSE="MIT"
pascal@20669 10 WEB_SITE="https://invisible-island.net/ncurses/"
pankso@7 11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
pankso@12773 12 HOST_ARCH="i486 arm"
pankso@12773 13
pascal@17389 14 DEPENDS="ncurses-common libtinfo libtic"
pankso@12818 15 BUILD_DEPENDS=""
al@19542 16 SPLIT="ncurses-common ncurses-extra ncurses-dev ncurses-man libform libmenu \
al@19542 17 libpanel libtic libtinfo"
gokhlayeh@8203 18
pankso@7 19 # Rules to configure and make the package.
pankso@7 20 compile_rules()
pankso@7 21 {
pankso@12774 22 # Ncurses need an installed /usr/bin/tic witch is in ncursesw-extra. And
pankso@12774 23 # when cross compiling we can't use the freshly cooked binary. See cook log:
pankso@12774 24 #
pankso@12774 25 #** Building terminfo database, please wait...
pankso@12774 26 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
pankso@12774 27 #
pankso@12775 28 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
pankso@12792 29 echo "Installing: ncursesw-extra"
pankso@12792 30 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
pankso@12774 31 fi
gokhlayeh@8203 32 cd $src
pascal@15083 33 mkdir -p $DESTDIR/usr/lib/terminfo
gokhlayeh@8203 34 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
gokhlayeh@8203 35 include/Makefile.in
pascal@17385 36 ./configure \
pankso@4884 37 --libdir=/lib \
pankso@4884 38 --sysconfdir=/etc \
pankso@4884 39 --with-shared \
pascal@17384 40 --without-debug \
pascal@17384 41 --without-ada \
pascal@17385 42 --with-build-cc="gcc -D_GNU_SOURCE" \
pascal@17378 43 --with-termlib \
pascal@17379 44 --with-ticlib \
al@19542 45 --enable-pc-files \
pascal@17384 46 $CONFIGURE_ARGS &&
pascal@17384 47 make && make install
pankso@7 48 }
pankso@7 49
pankso@7 50 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 51 genpkg_rules()
pankso@7 52 {
pankso@4884 53 mkdir -p $fs/lib
pankso@12773 54 cp -a $install/lib/libncurses.so* $fs/lib
pankso@7 55 }