wok view libconfuse/receipt @ rev 5259

linux/boot: fix noinitramfs case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 13 12:30:20 2010 +0200 (2010-04-13)
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 }