wok-next view popt/receipt @ rev 880

Up: firefox (3.0-rc2)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 07 00:48:02 2008 +0200 (2008-06-07)
parents 99715173ee02
children 0115ef744ad6
line source
1 # SliTaz package receipt.
3 PACKAGE="popt"
4 VERSION="1.10.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for parsing command line options."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://directory.fsf.org/project/popt/"
10 WGET_URL="http://rpm.net.in/mirror/rpm-4.4.x/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/share/locale
26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
27 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
28 strip --strip-unneeded $fs/usr/lib/*
29 }