wok-next annotate 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 |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
Bill@1025 | 2 |
Bill@1025 | 3 PACKAGE="cryptsetup" |
al@20894 | 4 VERSION="2.0.3" |
Bill@1025 | 5 CATEGORY="system-tools" |
jozee@5043 | 6 SHORT_DESC="dm-crypt setup tool for encryption of block devices" |
al@21020 | 7 MAINTAINER="devel@slitaz.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@21020 | 14 BUILD_DEPENDS="util-linux-uuid-dev libdevmapper-dev gettext-dev popt-dev \ |
al@21020 | 15 json-c-dev libgcrypt-dev argon2-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@15002 | 17 |
al@20569 | 18 compile_rules() { |
paul@5045 | 19 ./configure \ |
al@19816 | 20 --disable-static \ |
al@20894 | 21 --enable-libargon2 \ |
al@20569 | 22 $CONFIGURE_ARGS && |
al@20569 | 23 fix libtool && |
al@20569 | 24 make && |
al@20569 | 25 make install |
Bill@1025 | 26 } |
Bill@1025 | 27 |
al@21020 | 28 genpkg_rules() { |
al@19816 | 29 case $PACKAGE in |
al@19816 | 30 cryptsetup) |
al@19816 | 31 copy @std |
al@20894 | 32 DEPENDS="argon2 json-c libdevmapper libgcrypt popt util-linux-uuid" |
al@19816 | 33 ;; |
al@19816 | 34 *-dev) |
al@19816 | 35 copy @dev |
al@19816 | 36 ;; |
al@19816 | 37 esac |
Bill@1025 | 38 } |