wok-next view cryptsetup/receipt @ rev 20137
mariadb: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 21:42:04 2017 +0100 (2017-10-31) |
parents | f2cf0de52bd3 |
children | 835b3b8ce6ac |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 --enable-cryptsetup-reencrypt \
23 $CONFIGURE_ARGS &&
24 make && 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 }