wok-stable annotate popt/receipt @ rev 6471
merge
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Wed Sep 29 23:41:43 2010 +0000 (2010-09-29) |
parents | 92f897d5e895 |
children |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="popt" |
slaxemulator@6273 | 4 VERSION="1.16" |
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/" |
pascal@4744 | 10 WGET_URL="${WEB_SITE}files/$PACKAGE/$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 \ |
pascal@4744 | 20 $CONFIGURE_ARGS && |
pascal@4744 | 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 } |