wok-current annotate libmowgli/receipt @ rev 2029

Add: libmowgli & libmowgli-dev
author Fabrice THIROUX <mimas@slitaz.org>
date Fri Jan 09 00:42:33 2009 +0100 (2009-01-09)
parents
children fc784f29b3f6
rev   line source
mimas@2029 1 # SliTaz package receipt.
mimas@2029 2
mimas@2029 3 PACKAGE="libmowgli"
mimas@2029 4 VERSION="0.7.0"
mimas@2029 5 CATEGORY="library"
mimas@2029 6 SHORT_DESC="High performance and highly flexible algorithms."
mimas@2029 7 MAINTAINER="mimas@slitaz.org"
mimas@2029 8 TARBALL="$PACKAGE-$VERSION.tbz2"
mimas@2029 9 WEB_SITE="http://www.atheme.org/projects/mowgli.shtml"
mimas@2029 10 WGET_URL="http://distfiles.atheme.org/$TARBALL"
mimas@2029 11
mimas@2029 12 # Rules to configure and make the package.
mimas@2029 13 compile_rules()
mimas@2029 14 {
mimas@2029 15 cd $src
mimas@2029 16 ./configure \
mimas@2029 17 --prefix=/usr \
mimas@2029 18 --infodir=/usr/share/info \
mimas@2029 19 --mandir=/usr/share/man \
mimas@2029 20 $CONFIGURE_ARGS
mimas@2029 21 make
mimas@2029 22 make DESTDIR=$PWD/_pkg install
mimas@2029 23 }
mimas@2029 24
mimas@2029 25 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2029 26 genpkg_rules()
mimas@2029 27 {
mimas@2029 28 mkdir -p $fs/usr/lib
mimas@2029 29 cp -a $_pkg/usr/lib/libmowgli.so* $fs/usr/lib
mimas@2029 30 strip -s $fs/usr/lib/*.so*
mimas@2029 31 }
mimas@2029 32