wok-4.x annotate readline/receipt @ rev 5982
nut: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 21:34:30 2010 +0200 (2010-08-13) |
parents | 7ffdeac14518 |
children | 6e313539dd63 |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
pankso@3403 | 4 VERSION="6.0" |
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 |
pankso@633 | 12 # Rules to configure and make the package. |
pankso@633 | 13 compile_rules() |
pankso@633 | 14 { |
pankso@633 | 15 cd $src |
pankso@633 | 16 ./configure \ |
pankso@633 | 17 --prefix=/usr \ |
pankso@633 | 18 --infodir=/usr/share/info \ |
pankso@633 | 19 --mandir=/usr/share/man \ |
pascal@1468 | 20 $CONFIGURE_ARGS && |
pascal@1468 | 21 make && |
pankso@633 | 22 make DESTDIR=$PWD/_pkg 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 |