wok annotate cryptsetup/receipt @ rev 10614
cairo-dock-plugins: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 17:59:53 2011 +0200 (2011-05-26) |
parents | 02bbaa9d12ba |
children | 53665c5f3df6 |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
slaxemulator@7811 | 4 VERSION="1.2.0" |
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 } |