wok-current view popt/receipt @ rev 336
Openvpn: add directories
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 05 09:05:47 2008 +0000 (2008-03-05) |
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 }