wok-next view cryptsetup/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 41860cbdf043
children 0f2575775b2d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cryptsetup"
4 VERSION="2.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="dm-crypt setup tool for encryption of block devices"
7 MAINTAINER="devel@slitaz.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 gettext-dev popt-dev \
15 json-c-dev libgcrypt-dev argon2-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-libargon2 \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 cryptsetup)
31 copy @std
32 DEPENDS="argon2 json-c libdevmapper libgcrypt popt util-linux-uuid"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }