wok-current annotate cryptsetup/receipt @ rev 6239
Up: cryptsetup, cryptsetup-dev to 1.1.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 12 12:40:23 2010 +0000 (2010-09-12) |
parents | e1cbfcb07467 |
children | 1f7f3fb4942c |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
slaxemulator@6239 | 4 VERSION="1.1.3" |
Bill@1025 | 5 CATEGORY="system-tools" |
jozee@5043 | 6 SHORT_DESC="dm-crypt setup tool for encryption of block devices" |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
wcnagel@1031 | 8 DEPENDS="e2fsprogs popt libgcrypt libdevmapper" |
slaxemulator@6239 | 9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper libdevmapper-dev util-linux-ng-uuid util-linux-ng-uuid-dev popt" |
Bill@1025 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@5043 | 11 WEB_SITE="http://code.google.com/p/$PACKAGE" |
jozee@5043 | 12 WGET_URL="http://cryptsetup.googlecode.com/files/$TARBALL" |
Bill@1025 | 13 |
Bill@1025 | 14 # Rules to configure and make the package. |
Bill@1025 | 15 compile_rules() |
Bill@1025 | 16 { |
Bill@1025 | 17 cd $src |
paul@5045 | 18 ./configure \ |
paul@5045 | 19 --prefix=/usr \ |
paul@5045 | 20 --enable-libdevmapper \ |
paul@5045 | 21 $CONFIGURE_ARGS && |
pascal@1514 | 22 make && |
Bill@1025 | 23 make DESTDIR=$PWD/_pkg install |
Bill@1025 | 24 } |
Bill@1025 | 25 |
Bill@1025 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1025 | 27 genpkg_rules() |
Bill@1025 | 28 { |
Bill@1025 | 29 mkdir -p $fs/usr/lib |
Bill@1025 | 30 cp -a $_pkg/usr/sbin $fs/usr |
Bill@1025 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
Bill@1025 | 32 strip -s $fs/usr/sbin/* |
Bill@1025 | 33 strip -s $fs/usr/lib/* |
Bill@1025 | 34 } |