wok view libconfuse/receipt @ rev 5288

gc: built also libatomic_ops
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 14:25:40 2010 +0200 (2010-04-18)
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 }