wok annotate ncurses/receipt @ rev 22117

updated vsftpd (2.3.5 -> 3.0.3)
author Hans-G?nter Theisgen
date Sat Nov 02 16:53:53 2019 +0100 (2019-11-02)
parents a78610b2eb47
children f7951fed4db2
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="ncurses"
Hans-G?nter@21526 4 VERSION="6.1"
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"
Hans-G?nter@21526 8 LICENSE="MIT"
Hans-G?nter@21526 9 WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"
Hans-G?nter@21526 10
pankso@7 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21526 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@21526 13
Hans-G?nter@21526 14 DEPENDS="libtic libtinfo ncurses-common"
Hans-G?nter@21526 15 BUILD_DEPENDS=""
Hans-G?nter@21526 16 SPLIT="libform libmenu libpanel libtic libtinfo ncurses-common \
Hans-G?nter@21526 17 ncurses-dev ncurses-extra ncurses-man"
Hans-G?nter@21526 18
pankso@12773 19 HOST_ARCH="i486 arm"
pankso@12773 20
pankso@7 21 # Rules to configure and make the package.
pankso@7 22 compile_rules()
pankso@7 23 {
Hans-G?nter@21526 24 # Ncurses need an installed /usr/bin/tic which is in ncursesw-extra. And
pankso@12774 25 # when cross compiling we can't use the freshly cooked binary. See cook log:
pankso@12774 26 #
pankso@12774 27 #** Building terminfo database, please wait...
pankso@12774 28 #Running /usr/bin/tic to install /home/slitaz/wok/ncurses/install/usr/share/terminfo
pankso@12774 29 #
pankso@12775 30 if [ ! -d "/var/lib/tazpkg/installed/ncursesw-extra" ]; then
pankso@12792 31 echo "Installing: ncursesw-extra"
pankso@12792 32 tazpkg get-install ncursesw-extra 2>/dev/null 1>/dev/null
pankso@12774 33 fi
Hans-G?nter@21526 34
pascal@15083 35 mkdir -p $DESTDIR/usr/lib/terminfo
Hans-G?nter@21526 36
Hans-G?nter@21526 37 # search string not in file (6.1)
Hans-G?nter@21526 38 # sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
Hans-G?nter@21526 39 # include/Makefile.in
Hans-G?nter@21526 40
Hans-G?nter@21526 41 ./configure \
Hans-G?nter@21526 42 --libdir=/lib \
Hans-G?nter@21526 43 --sysconfdir=/etc \
Hans-G?nter@21526 44 --with-shared \
Hans-G?nter@21526 45 --without-debug \
Hans-G?nter@21526 46 --without-ada \
Hans-G?nter@21526 47 --with-build-cc="gcc -D_GNU_SOURCE" \
Hans-G?nter@21526 48 --with-termlib \
Hans-G?nter@21526 49 --with-ticlib \
Hans-G?nter@21526 50 --enable-pc-files \
pascal@17384 51 $CONFIGURE_ARGS &&
Hans-G?nter@21526 52 make &&
Hans-G?nter@21526 53 make install
pankso@7 54 }
pankso@7 55
pankso@7 56 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 57 genpkg_rules()
pankso@7 58 {
pankso@4884 59 mkdir -p $fs/lib
pankso@12773 60 cp -a $install/lib/libncurses.so* $fs/lib
pankso@7 61 }