wok view mcrypt/receipt @ rev 12086

osmo: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:48:21 2012 -0500 (2012-03-09)
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 }