wok view mcrypt/receipt @ rev 10874

slitaz-tools-boxes: This can't be a wanted package. Compile_rules are made for non-wanted packages. Also tazwok doesn't execute compile_rules if its a wanted package.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 12:25:19 2011 +0000 (2011-06-19)
parents e2dd4c43c979
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="mcrypt"
4 VERSION="2.6.8"
5 CATEGORY="security"
6 SHORT_DESC="Encryption"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mcrypt.sourceforge.net/"
10 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL"
12 DEPENDS="zlib mhash libmcrypt"
13 BUILD_DEPENDS="libmcrypt-dev libmcrypt-dev mhash-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }