# HG changeset patch # User Mallory MOLLO # Date 1240509655 -7200 # Node ID 0bfb8a0a226bdda72aa0d7acfcbf519586602c6a # Parent 3eadd42e4748bed75a671e729a8906161b118877 Add: libconfuse diff -r 3eadd42e4748 -r 0bfb8a0a226b libconfuse/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libconfuse/receipt Thu Apr 23 20:00:55 2009 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libconfuse" +SOURCE="confuse" +VERSION="2.6" +CATEGORY="misc" +SHORT_DESC="Configuration file parser library." +MAINTAINER="mallory@sweetpeople.org" +DEPENDS="" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.nongnu.org/confuse/" +WGET_URL="http://bzero.se/$SOURCE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} +