wok-next annotate libconfuse/receipt @ rev 9365

Fixed packages that have SOURCE that equal PACKAGE. This shouldn't happend.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Mar 20 19:43:39 2011 +0000 (2011-03-20)
parents 45e78d0e94fd
children 6c3718ca17b6
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"
mallory@2718 9 DEPENDS=""
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
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