wok-current view cryptsetup/receipt @ rev 6776
Up: tazpkg (4.0) New functions, improvmend and fully gettextized
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 18 21:46:16 2010 +0200 (2010-10-18) |
parents | e1cbfcb07467 |
children | 1f7f3fb4942c |
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptsetup"
4 VERSION="1.1.3"
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-ng-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 --enable-libdevmapper \
21 $CONFIGURE_ARGS &&
22 make &&
23 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/lib
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 strip -s $fs/usr/sbin/*
33 strip -s $fs/usr/lib/*
34 }