wok-next view cryptsetup/receipt @ rev 12558

linux: compress modules with xz (be kmod compatible)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 28 14:44:50 2012 +0200 (2012-04-28)
parents 53665c5f3df6
children 85b3486f226a
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 DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper libdevmapper-dev util-linux-uuid util-linux-ng-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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $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/lib
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }