wok annotate libmowgli/receipt @ rev 5342
Up: linmodem-agrsm
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 27 11:47:53 2010 +0000 (2010-04-27) |
parents | 08a7f948dc8f |
children | 02bbaa9d12ba |
rev | line source |
---|---|
mimas@2029 | 1 # SliTaz package receipt. |
mimas@2029 | 2 |
mimas@2029 | 3 PACKAGE="libmowgli" |
mimas@2029 | 4 VERSION="0.7.0" |
pascal@2054 | 5 CATEGORY="system-tools" |
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 \ |
pascal@2054 | 20 $CONFIGURE_ARGS && |
pascal@2054 | 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 |