wok-6.x annotate libmcrypt/receipt @ rev 10075

Up: parted to 2.4. Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 05:39:49 2011 +0000 (2011-05-20)
parents 5b5f62a0cb2b
children 8f447cf2eee5
rev   line source
erjo@4380 1 # SliTaz package receipt.
erjo@4380 2
erjo@4380 3 PACKAGE="libmcrypt"
erjo@4380 4 VERSION="2.5.8"
pascal@5726 5 CATEGORY="security"
erjo@4380 6 SHORT_DESC="Encryption Library"
pascal@5724 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