wok-next view cryptsetup/receipt @ rev 19823

Forgot to remove *-dev parts.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 29 17:34:46 2017 +0300 (2017-07-29)
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 }