wok-next view cryptsetup/receipt @ rev 20773
jack2: up (1.9.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:59:31 2018 +0300 (2018-06-06) |
parents | 0e8dadf052b9 |
children | 41860cbdf043 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cryptsetup"
4 VERSION="1.7.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="dm-crypt setup tool for encryption of block devices"
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.com/cryptsetup/cryptsetup"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/cryptsetup/v${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="util-linux-uuid-dev libdevmapper-dev popt-dev libgcrypt-dev"
15 SPLIT="cryptsetup-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 --enable-cryptsetup-reencrypt \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 cryptsetup)
32 copy @std
33 DEPENDS="libdevmapper libgcrypt libgpg-error popt util-linux-uuid"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="cryptsetup libdevmapper-dev libgcrypt-dev \
38 libgpg-error-dev util-linux-uuid-dev"
39 ;;
40 esac
41 }