wok-6.x annotate cryptsetup/receipt @ rev 2939
Up: libgpg-error-* (1.7)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 08 00:11:57 2009 +0200 (2009-05-08) |
parents | 52dc4b48ed81 |
children | 92bad8adb911 |
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" |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@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 } |