wok-next annotate popt/receipt @ rev 15608

hubbub: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:31:17 2013 +0000 (2013-12-06)
parents fb4f0d051fc1
children 7e1257627587
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"
pascal@15375 8 LICENSE="MIT"
pankso@27 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@969 10 WEB_SITE="http://rpm5.org/"
pascal@4744 11 WGET_URL="${WEB_SITE}files/$PACKAGE/$TARBALL"
pankso@27 12
pankso@27 13 # Rules to configure and make the package.
pankso@27 14 compile_rules()
pankso@27 15 {
pankso@27 16 cd $src
pankso@969 17 ./configure \
pankso@969 18 --prefix=/usr \
pankso@969 19 --infodir=/usr/share/info \
pankso@969 20 --mandir=/usr/share/man \
pascal@4744 21 $CONFIGURE_ARGS &&
pascal@4744 22 make &&
pascal@15375 23 make DESTDIR=$DESTDIR install
pankso@27 24 }
pankso@27 25
pankso@27 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 27 genpkg_rules()
pankso@27 28 {
pankso@969 29 mkdir -p $fs/usr/lib
pascal@15375 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@27 31 }