wok annotate libmcrypt/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 | |
children | 5b5f62a0cb2b |
rev | line source |
---|---|
erjo@4380 | 1 # SliTaz package receipt. |
erjo@4380 | 2 |
erjo@4380 | 3 PACKAGE="libmcrypt" |
erjo@4380 | 4 VERSION="2.5.8" |
erjo@4380 | 5 CATEGORY="system" |
erjo@4380 | 6 SHORT_DESC="Encryption Library" |
erjo@4380 | 7 MAINTAINER="erjo@@slitaz.org" |
erjo@4380 | 8 DEPENDS="" |
erjo@4380 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4380 | 10 WEB_SITE="http://mcrypt.sourceforge.net/" |
erjo@4380 | 11 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz" |
erjo@4380 | 12 |
erjo@4380 | 13 # Rules to configure and make the package. |
erjo@4380 | 14 compile_rules() |
erjo@4380 | 15 { |
erjo@4380 | 16 cd $src |
erjo@4380 | 17 ./configure \ |
erjo@4380 | 18 --prefix=/usr \ |
erjo@4380 | 19 --infodir=/usr/share/info \ |
erjo@4380 | 20 --mandir=/usr/share/man \ |
erjo@4380 | 21 $CONFIGURE_ARGS && |
erjo@4380 | 22 make && make DESTDIR=$PWD/_pkg install |
erjo@4380 | 23 } |
erjo@4380 | 24 |
erjo@4380 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4380 | 26 genpkg_rules() |
erjo@4380 | 27 { |
erjo@4380 | 28 mkdir -p $fs/usr/lib |
erjo@4380 | 29 cp -a $_pkg/usr/lib/libmcrypt $fs/usr/lib |
erjo@4380 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4380 | 31 } |
erjo@4380 | 32 |