wok-4.x annotate ncurses/receipt @ rev 10092
ncurses: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 07:22:23 2011 +0000 (2011-05-20) |
parents | 70c50cf7bbf2 |
children | ef827f291143 |
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@4884 | 7 DEPENDS="ncurses-common" |
gokhlayeh@8203 | 8 BUILD_DEPENDS="gcc" |
pankso@7 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@7 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 11 WEB_SITE="http://invisible-island.net/ncurses/" |
pankso@7 | 12 WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" |
pankso@7 | 13 |
gokhlayeh@8203 | 14 # Rules to compile & install the temporary toolchain. |
gokhlayeh@8203 | 15 cook_tmp_toolchain() |
gokhlayeh@8203 | 16 { |
gokhlayeh@8203 | 17 cd $src |
gokhlayeh@8203 | 18 ./configure --with-shared --without-debug \ |
gokhlayeh@8203 | 19 --without-ada --enable-overwrite && |
gokhlayeh@8203 | 20 make && make install |
gokhlayeh@8203 | 21 } |
gokhlayeh@8203 | 22 |
pankso@7 | 23 # Rules to configure and make the package. |
pankso@7 | 24 compile_rules() |
pankso@7 | 25 { |
gokhlayeh@8203 | 26 cd $src |
gokhlayeh@8203 | 27 sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ |
gokhlayeh@8203 | 28 include/Makefile.in |
gokhlayeh@8203 | 29 ./configure \ |
pankso@4884 | 30 --libdir=/lib \ |
pankso@4884 | 31 --sysconfdir=/etc \ |
pankso@4884 | 32 --with-shared \ |
pankso@4884 | 33 --without-debug \ |
slaxemulator@10092 | 34 --without-ada \ |
slaxemulator@10092 | 35 $CONFIGURE_ARGS && |
gokhlayeh@8203 | 36 make && make install |
pankso@7 | 37 } |
pankso@7 | 38 |
pankso@7 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 40 genpkg_rules() |
pankso@7 | 41 { |
pankso@4884 | 42 mkdir -p $fs/lib |
pankso@7 | 43 cp -a $_pkg/lib/libncurses.so* $fs/lib |
pankso@7 | 44 } |