wok-4.x view libconfuse/receipt @ rev 12070

transmission: fix bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 03:35:40 2012 +0100 (2012-03-09)
parents 45e78d0e94fd
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfuse"
4 SOURCE="confuse"
5 VERSION="2.7"
6 CATEGORY="misc"
7 SHORT_DESC="Configuration file parser library."
8 MAINTAINER="mallory@sweetpeople.org"
9 DEPENDS=""
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.nongnu.org/confuse/"
12 WGET_URL="http://savannah.nongnu.org/download/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 sed -i 's/ -Werror//' src/Makefile
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/include $fs/usr
32 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
33 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
34 }