wok-6.x view popt/receipt @ rev 4833

Fix: Add missing BUILD_DEPENDS to Beaver. Fix build build failed with DESTDIR
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 22 10:21:56 2010 +0100 (2010-01-22)
parents 98cbcc757c0e
children fb4f0d051fc1
line source
1 # SliTaz package receipt.
3 PACKAGE="popt"
4 VERSION="1.15"
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://rpm5.org/"
10 WGET_URL="${WEB_SITE}files/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }