wok annotate libconfuse/receipt @ rev 3933

mirror-tools: rename /etc/tazwok.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 20 13:35:04 2009 +0200 (2009-08-20)
parents
children 45e78d0e94fd
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 \
mallory@2718 22 $CONFIGURE_ARGS &&
mallory@2718 23 make && make DESTDIR=$PWD/_pkg install
mallory@2718 24 }
mallory@2718 25
mallory@2718 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2718 27 genpkg_rules()
mallory@2718 28 {
mallory@2718 29 mkdir -p $fs/usr/lib
mallory@2718 30 cp -a $_pkg/usr/include $fs/usr
mallory@2718 31 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
mallory@2718 32 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
mallory@2718 33 }
mallory@2718 34