wok-6.x annotate mcrypt/receipt @ rev 9959

mcrypt: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 15:26:01 2011 +0200 (2011-05-18)
parents e2dd4c43c979
children b7319995b37e
rev   line source
erjo@4381 1 # SliTaz package receipt.
erjo@4381 2
erjo@4381 3 PACKAGE="mcrypt"
erjo@4381 4 VERSION="2.6.8"
pascal@5726 5 CATEGORY="security"
erjo@4381 6 SHORT_DESC="Encryption"
pascal@5724 7 MAINTAINER="erjo@slitaz.org"
erjo@4381 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4381 9 WEB_SITE="http://mcrypt.sourceforge.net/"
erjo@4381 10 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL"
erjo@4381 11
erjo@9959 12 DEPENDS="zlib mhash libmcrypt"
erjo@9959 13 BUILD_DEPENDS="libmcrypt-dev libmcrypt-dev mhash-dev"
erjo@9959 14
erjo@4381 15 # Rules to configure and make the package.
erjo@4381 16 compile_rules()
erjo@4381 17 {
erjo@4381 18 cd $src
erjo@4381 19 ./configure \
erjo@9959 20 --prefix=/usr &&
erjo@9959 21 make &&
erjo@9959 22 make DESTDIR=$DESTDIR install
erjo@4381 23 }
erjo@4381 24
erjo@4381 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4381 26 genpkg_rules()
erjo@4381 27 {
erjo@4381 28 mkdir -p $fs/usr
erjo@4381 29 cp -a $_pkg/usr/bin $fs/usr
erjo@4381 30 }
erjo@4381 31