wok annotate readline/receipt @ rev 10336
readline: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 01:25:04 2011 +0000 (2011-05-22) |
parents | 5740040c75b8 |
children | 833b46d85d4d |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
slaxemulator@8719 | 4 VERSION="6.2" |
pankso@633 | 5 CATEGORY="system-tools" |
pankso@633 | 6 SHORT_DESC="GNU readline." |
pankso@633 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@633 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@633 | 9 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
pascal@1468 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@633 | 11 |
slaxemulator@10336 | 12 DEPENDS="ncurses" |
slaxemulator@10336 | 13 BUILD_DEPENDS="ncurses-dev" |
slaxemulator@10336 | 14 |
pankso@633 | 15 # Rules to configure and make the package. |
pankso@633 | 16 compile_rules() |
pankso@633 | 17 { |
pankso@633 | 18 cd $src |
slaxemulator@10336 | 19 ./configure $CONFIGURE_ARGS && |
pascal@1468 | 20 make && |
gokhlayeh@8211 | 21 |
gokhlayeh@8211 | 22 # readline make install ignore DESTDIR environnment variable. |
gokhlayeh@8211 | 23 make DESTDIR=$DESTDIR install |
pankso@633 | 24 } |
pankso@633 | 25 |
pankso@633 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@633 | 27 genpkg_rules() |
pankso@633 | 28 { |
pankso@633 | 29 mkdir -p $fs/usr/lib |
pankso@633 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@633 | 31 } |
pankso@633 | 32 |