wok-6.x annotate popt/receipt @ rev 4742
Up: popt, popt-dev (1.15)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 07 23:28:00 2010 +0100 (2010-01-07) |
parents | 0115ef744ad6 |
children | 92f897d5e895 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="popt" |
erjo@4742 | 4 VERSION="1.15" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@27 | 6 SHORT_DESC="Library for parsing command line options." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@969 | 9 WEB_SITE="http://rpm5.org/" |
pankso@969 | 10 WGET_URL="http://freshmeat.net/redir/popt/72854/url_tgz/$TARBALL" |
pankso@27 | 11 |
pankso@27 | 12 # Rules to configure and make the package. |
pankso@27 | 13 compile_rules() |
pankso@27 | 14 { |
pankso@27 | 15 cd $src |
pankso@969 | 16 ./configure \ |
pankso@969 | 17 --prefix=/usr \ |
pankso@969 | 18 --infodir=/usr/share/info \ |
pankso@969 | 19 --mandir=/usr/share/man \ |
pankso@969 | 20 $CONFIGURE_ARGS |
pankso@27 | 21 make |
pankso@27 | 22 make DESTDIR=$PWD/_pkg install |
pankso@27 | 23 } |
pankso@27 | 24 |
pankso@27 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 26 genpkg_rules() |
pankso@27 | 27 { |
pankso@969 | 28 mkdir -p $fs/usr/lib |
pankso@27 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@27 | 30 } |