wok annotate readline/receipt @ rev 8195
imported patch toolchain/libtool.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 4bd2ff77d103 |
children | 56f227054f39 |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
slaxemulator@6364 | 4 VERSION="6.1" |
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 |