wok-6.x annotate libconfuse/receipt @ rev 5885

privoxy: fix build.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 21 16:00:54 2010 +0200 (2010-07-21)
parents 0bfb8a0a226b
children 873c4ae3f6db
rev   line source
mallory@2718 1 # SliTaz package receipt.
mallory@2718 2
mallory@2718 3 PACKAGE="libconfuse"
mallory@2718 4 SOURCE="confuse"
mallory@2718 5 VERSION="2.6"
mallory@2718 6 CATEGORY="misc"
mallory@2718 7 SHORT_DESC="Configuration file parser library."
mallory@2718 8 MAINTAINER="mallory@sweetpeople.org"
mallory@2718 9 DEPENDS=""
mallory@2718 10 TARBALL="$SOURCE-$VERSION.tar.gz"
mallory@2718 11 WEB_SITE="http://www.nongnu.org/confuse/"
mallory@2718 12 WGET_URL="http://bzero.se/$SOURCE/$TARBALL"
mallory@2718 13
mallory@2718 14 # Rules to configure and make the package.
mallory@2718 15 compile_rules()
mallory@2718 16 {
mallory@2718 17 cd $src
mallory@2718 18 ./configure \
mallory@2718 19 --prefix=/usr \
mallory@2718 20 --infodir=/usr/share/info \
mallory@2718 21 --mandir=/usr/share/man \
pascal@4296 22 $CONFIGURE_ARGS
pascal@4296 23 sed -i 's/ -Werror//' src/Makefile
mallory@2718 24 make && make DESTDIR=$PWD/_pkg install
mallory@2718 25 }
mallory@2718 26
mallory@2718 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2718 28 genpkg_rules()
mallory@2718 29 {
mallory@2718 30 mkdir -p $fs/usr/lib
mallory@2718 31 cp -a $_pkg/usr/include $fs/usr
mallory@2718 32 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
mallory@2718 33 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
mallory@2718 34 }
mallory@2718 35