wok-current annotate cryptsetup/receipt @ rev 13494

Add; buffer
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Oct 12 23:26:43 2012 +0200 (2012-10-12)
parents 85b3486f226a
children 7896f0694ef6
rev   line source
Bill@1025 1 # SliTaz package receipt.
Bill@1025 2
Bill@1025 3 PACKAGE="cryptsetup"
slaxemulator@11087 4 VERSION="1.3.1"
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"
pascal@12607 9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \
pascal@12632 10 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt"
Bill@1025 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@5043 12 WEB_SITE="http://code.google.com/p/$PACKAGE"
jozee@5043 13 WGET_URL="http://cryptsetup.googlecode.com/files/$TARBALL"
Bill@1025 14
Bill@1025 15 # Rules to configure and make the package.
Bill@1025 16 compile_rules()
Bill@1025 17 {
Bill@1025 18 cd $src
paul@5045 19 ./configure \
paul@5045 20 --prefix=/usr \
paul@5045 21 $CONFIGURE_ARGS &&
pascal@1514 22 make &&
slaxemulator@11087 23 make DESTDIR=$DESTDIR 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 }