wok annotate popt/receipt @ rev 564

Up: pcre (7.6) with utf8 support
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 00:44:44 2008 +0200 (2008-04-13)
parents 99715173ee02
children 0115ef744ad6
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="popt"
pankso@27 4 VERSION="1.10.4"
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@27 9 WEB_SITE="http://directory.fsf.org/project/popt/"
pankso@27 10 WGET_URL="http://rpm.net.in/mirror/rpm-4.4.x/$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@27 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@27 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@27 18 make
pankso@27 19 make DESTDIR=$PWD/_pkg install
pankso@27 20 }
pankso@27 21
pankso@27 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 23 genpkg_rules()
pankso@27 24 {
pankso@27 25 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@27 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@27 27 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@27 28 strip --strip-unneeded $fs/usr/lib/*
pankso@27 29 }
pankso@27 30