wok annotate cryptsetup/receipt @ rev 5072
fix hp officejet: sane-backends
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Mar 12 11:32:31 2010 +0000 (2010-03-12) |
parents | 92bad8adb911 |
children | d25af2fe827e |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
jozee@5043 | 4 VERSION="1.1.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" |
jozee@5043 | 9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper libdevmapper-dev" |
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 } |