wok-next annotate cryptsetup/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | 0e8dadf052b9 |
children | 41860cbdf043 |
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 |
al@20569 | 17 compile_rules() { |
paul@5045 | 18 ./configure \ |
al@19816 | 19 --disable-static \ |
al@19816 | 20 --enable-cryptsetup-reencrypt \ |
al@20569 | 21 $CONFIGURE_ARGS && |
al@20569 | 22 fix libtool && |
al@20569 | 23 make && |
al@20569 | 24 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 } |