wok-current view popt/receipt @ rev 554
Up: Xpad (2.14)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 21:39:03 2008 +0200 (2008-04-12) |
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 }