wok-next annotate cryptsetup/receipt @ rev 1685
get-flash-plugin: speedup & fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 09 23:08:30 2008 +0000 (2008-11-09) |
parents | 74c908326808 |
children | 67356fcbb83e |
rev | line source |
---|---|
Bill@1025 | 1 # SliTaz package receipt. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
Bill@1025 | 4 VERSION="1.0.5" |
Bill@1025 | 5 CATEGORY="system-tools" |
Bill@1025 | 6 SHORT_DESC="dm-crypt setup tool" |
pascal@1412 | 7 MAINTAINER="bill@nagel.org" |
wcnagel@1031 | 8 DEPENDS="e2fsprogs popt libgcrypt libdevmapper" |
pascal@1514 | 9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper-dev" |
Bill@1025 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Bill@1025 | 11 WEB_SITE="http://luks.endorphin.org/dm-crypt" |
Bill@1025 | 12 WGET_URL="http://luks.endorphin.org/source/$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 |
pascal@1514 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1514 | 19 make && |
Bill@1025 | 20 make DESTDIR=$PWD/_pkg install |
Bill@1025 | 21 } |
Bill@1025 | 22 |
Bill@1025 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1025 | 24 genpkg_rules() |
Bill@1025 | 25 { |
Bill@1025 | 26 mkdir -p $fs/usr/lib |
Bill@1025 | 27 cp -a $_pkg/usr/sbin $fs/usr |
Bill@1025 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
Bill@1025 | 29 strip -s $fs/usr/sbin/* |
Bill@1025 | 30 strip -s $fs/usr/lib/* |
Bill@1025 | 31 } |