wok-current annotate readline/receipt @ rev 1932
Squashfs: avoid a warning during build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 24 21:06:04 2008 +0000 (2008-12-24) |
parents | 93ddc3aa7689 |
children | 4bd2ff77d103 |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
pankso@633 | 4 VERSION="5.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 |
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 |