wok-stable annotate popt/receipt @ rev 5813
c-client: fix tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 12 21:45:53 2010 +0200 (2010-07-12) |
parents | 98cbcc757c0e |
children | fb4f0d051fc1 |
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/" |
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 } |