wok-next annotate cryptsetup/receipt @ rev 20342
gkII: tiny png patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 17 15:57:17 2017 +0100 (2017-11-17) |
parents | f2cf0de52bd3 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
al@19816 | 4 VERSION="1.7.5" |
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" |
al@19816 | 9 WEB_SITE="https://gitlab.com/cryptsetup/cryptsetup" |
al@19816 | 10 |
pascal@19495 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19816 | 12 WGET_URL="https://www.kernel.org/pub/linux/utils/cryptsetup/v${VERSION%.*}/$TARBALL" |
Bill@1025 | 13 |
al@19816 | 14 BUILD_DEPENDS="util-linux-uuid-dev libdevmapper-dev popt-dev libgcrypt-dev" |
al@19816 | 15 SPLIT="cryptsetup-dev" |
pascal@15002 | 16 |
Bill@1025 | 17 # Rules to configure and make the package. |
Bill@1025 | 18 compile_rules() |
Bill@1025 | 19 { |
paul@5045 | 20 ./configure \ |
al@19816 | 21 --disable-static \ |
al@19816 | 22 --enable-cryptsetup-reencrypt \ |
al@19816 | 23 $CONFIGURE_ARGS && |
al@19816 | 24 make && make install |
Bill@1025 | 25 } |
Bill@1025 | 26 |
Bill@1025 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
Bill@1025 | 28 genpkg_rules() |
Bill@1025 | 29 { |
al@19816 | 30 case $PACKAGE in |
al@19816 | 31 cryptsetup) |
al@19816 | 32 copy @std |
al@19816 | 33 DEPENDS="libdevmapper libgcrypt libgpg-error popt util-linux-uuid" |
al@19816 | 34 ;; |
al@19816 | 35 *-dev) |
al@19816 | 36 copy @dev |
al@19816 | 37 DEPENDS="cryptsetup libdevmapper-dev libgcrypt-dev \ |
al@19816 | 38 libgpg-error-dev util-linux-uuid-dev" |
al@19816 | 39 ;; |
al@19816 | 40 esac |
Bill@1025 | 41 } |