wok-6.x view libmcrypt/receipt @ rev 15602
Use DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:42:36 2013 +0000 (2013-12-05) |
parents | 186d50f34f48 |
children | d3eb5f4b53ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmcrypt"
4 VERSION="2.5.8"
5 CATEGORY="security"
6 SHORT_DESC="Encryption Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mcrypt.sourceforge.net/"
11 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz"
13 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/libmcrypt $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }