wok-next annotate readline/receipt @ rev 9402
git: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 27 16:56:58 2011 +0200 (2011-03-27) |
parents | 56f227054f39 |
children | 55a190b3e32d |
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" |
gokhlayeh@8211 | 8 DEPENDS="ncurses" |
gokhlayeh@8211 | 9 BUILD_DEPENDS="ncurses" |
pankso@633 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@633 | 11 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
pascal@1468 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@633 | 13 |
pankso@633 | 14 # Rules to configure and make the package. |
pankso@633 | 15 compile_rules() |
pankso@633 | 16 { |
pankso@633 | 17 cd $src |
gokhlayeh@8211 | 18 ./configure && |
pascal@1468 | 19 make && |
gokhlayeh@8211 | 20 |
gokhlayeh@8211 | 21 # readline make install ignore DESTDIR environnment variable. |
gokhlayeh@8211 | 22 make DESTDIR=$DESTDIR install |
pankso@633 | 23 } |
pankso@633 | 24 |
pankso@633 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@633 | 26 genpkg_rules() |
pankso@633 | 27 { |
pankso@633 | 28 mkdir -p $fs/usr/lib |
pankso@633 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@633 | 30 } |
pankso@633 | 31 |