wok-6.x view mcrypt/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | c0f1600a3eb6 |
children | 6a0bb22dcc73 |
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 $CONFIGURE_ARGS &&
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 }