wok-next annotate popt/receipt @ rev 1833

php-*: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 10 17:20:52 2008 +0000 (2008-12-10)
parents cf22fee17710
children 98cbcc757c0e
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="popt"
pankso@969 4 VERSION="1.14"
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 }