wok-current annotate libconfuse/receipt @ rev 17555

Add whowatch
author Paul Issott <paul@slitaz.org>
date Sun Feb 01 08:50:04 2015 +0000 (2015-02-01)
parents 873c4ae3f6db
children 5a22e9bbefe0
rev   line source
mallory@2718 1 # SliTaz package receipt.
mallory@2718 2
mallory@2718 3 PACKAGE="libconfuse"
mallory@2718 4 SOURCE="confuse"
slaxemulator@6564 5 VERSION="2.7"
mallory@2718 6 CATEGORY="misc"
mallory@2718 7 SHORT_DESC="Configuration file parser library."
mallory@2718 8 MAINTAINER="mallory@sweetpeople.org"
pascal@15472 9 LICENSE="ISC"
mallory@2718 10 TARBALL="$SOURCE-$VERSION.tar.gz"
mallory@2718 11 WEB_SITE="http://www.nongnu.org/confuse/"
slaxemulator@6564 12 WGET_URL="http://savannah.nongnu.org/download/$SOURCE/$TARBALL"
mallory@2718 13
pascal@15472 14 DEPENDS=""
pascal@15472 15
mallory@2718 16 # Rules to configure and make the package.
mallory@2718 17 compile_rules()
mallory@2718 18 {
mallory@2718 19 cd $src
mallory@2718 20 ./configure \
mallory@2718 21 --prefix=/usr \
mallory@2718 22 --infodir=/usr/share/info \
mallory@2718 23 --mandir=/usr/share/man \
pascal@4296 24 $CONFIGURE_ARGS
pascal@4296 25 sed -i 's/ -Werror//' src/Makefile
pascal@15472 26 make && make DESTDIR=$DESTDIR install
mallory@2718 27 }
mallory@2718 28
mallory@2718 29 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2718 30 genpkg_rules()
mallory@2718 31 {
mallory@2718 32 mkdir -p $fs/usr/lib
pascal@15472 33 cp -a $install/usr/include $fs/usr
pascal@15472 34 cp -a $install/usr/lib/*.*a $fs/usr/lib
pascal@15472 35 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
mallory@2718 36 }
mallory@2718 37