wok-next annotate cryptsetup/receipt @ rev 18430
Up gnuradio (3.7.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 18:28:34 2015 +0200 (2015-09-21) |
parents | 0e4d1805cdc7 |
children | f2cf0de52bd3 |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
domcox@15406 | 4 VERSION="1.6.2" |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
Bill@1025 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@5043 | 10 WEB_SITE="http://code.google.com/p/$PACKAGE" |
jozee@5043 | 11 WGET_URL="http://cryptsetup.googlecode.com/files/$TARBALL" |
Bill@1025 | 12 |
pascal@15002 | 13 DEPENDS="e2fsprogs popt libgcrypt libdevmapper" |
pascal@15002 | 14 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \ |
pascal@15008 | 15 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt" |
pascal@15002 | 16 |
Bill@1025 | 17 # Rules to configure and make the package. |
Bill@1025 | 18 compile_rules() |
Bill@1025 | 19 { |
Bill@1025 | 20 cd $src |
paul@5045 | 21 ./configure \ |
paul@5045 | 22 --prefix=/usr \ |
paul@5045 | 23 $CONFIGURE_ARGS && |
pascal@1514 | 24 make && |
slaxemulator@11087 | 25 make DESTDIR=$DESTDIR install |
Bill@1025 | 26 } |
Bill@1025 | 27 |
Bill@1025 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1025 | 29 genpkg_rules() |
Bill@1025 | 30 { |
Bill@1025 | 31 mkdir -p $fs/usr/lib |
pascal@15002 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15002 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Bill@1025 | 34 } |