wok-6.x annotate ncurses/receipt @ rev 6568
Up: mtools to 4.0.13.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 08 01:23:26 2010 +0000 (2010-10-08) |
parents | aa0dad286215 |
children | 86b10c2ec3e1 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="ncurses" |
pankso@1756 | 4 VERSION="5.7" |
pankso@210 | 5 CATEGORY="base-system" |
pascal@2086 | 6 SHORT_DESC="Library of functions to manage display on terminals." |
pankso@4884 | 7 DEPENDS="ncurses-common" |
pankso@7 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@7 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 10 WEB_SITE="http://invisible-island.net/ncurses/" |
pankso@7 | 11 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" |
pankso@7 | 12 |
pankso@7 | 13 # Rules to configure and make the package. |
pankso@7 | 14 compile_rules() |
pankso@7 | 15 { |
pankso@4884 | 16 cd $src |
pascal@1487 | 17 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
pascal@1487 | 18 include/Makefile.in |
pankso@4884 | 19 ./configure \ |
pankso@4884 | 20 --prefix=/usr \ |
pankso@4884 | 21 --libdir=/lib \ |
pankso@4884 | 22 --sysconfdir=/etc \ |
pankso@4884 | 23 --infodir=/usr/share/info \ |
pankso@4884 | 24 --mandir=/usr/share/man \ |
pankso@4884 | 25 --with-shared \ |
pankso@4884 | 26 --without-debug \ |
pankso@4884 | 27 --without-ada \ |
pascal@1487 | 28 $CONFIGURE_ARGS && |
pascal@1487 | 29 make && |
pankso@7 | 30 make DESTDIR=$PWD/_pkg install |
pankso@7 | 31 } |
pankso@7 | 32 |
pankso@7 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 34 genpkg_rules() |
pankso@7 | 35 { |
pankso@4884 | 36 mkdir -p $fs/lib |
pankso@7 | 37 cp -a $_pkg/lib/libncurses.so* $fs/lib |
pankso@7 | 38 } |