wok-stable view libconfuse/receipt @ rev 5195
slitaz-doc: fix version for 3.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 28 17:16:33 2010 +0200 (2010-03-28) |
parents | 0bfb8a0a226b |
children | 873c4ae3f6db |
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfuse"
4 SOURCE="confuse"
5 VERSION="2.6"
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://bzero.se/$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 }