wok-6.x view mcrypt/receipt @ rev 9320

superswitcher: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 09:52:56 2011 +0100 (2011-03-18)
parents 186d50f34f48
children c0f1600a3eb6
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 DEPENDS="zlib mhash libmcrypt"
9 BUILD_DEPENDS="libmcrypt libmcrypt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://mcrypt.sourceforge.net/"
12 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }