wok view cryptsetup/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 1d9956c989ec
children 0e4d1805cdc7
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptsetup"
4 VERSION="1.3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="dm-crypt setup tool for encryption of block devices"
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://code.google.com/p/$PACKAGE"
12 WGET_URL="http://cryptsetup.googlecode.com/files/$TARBALL"
14 DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
15 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }