wok-4.x annotate cryptsetup/receipt @ rev 9410
Up: lm-sensors to 3.3.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 29 01:31:00 2011 +0000 (2011-03-29) |
parents | d25af2fe827e |
children | 02bbaa9d12ba |
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 strip -s $fs/usr/sbin/* |
Bill@1025 | 33 strip -s $fs/usr/lib/* |
Bill@1025 | 34 } |