wok-next diff cryptsetup/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | f2cf0de52bd3 |
children | 835b3b8ce6ac |
line diff
1.1 --- a/cryptsetup/receipt Tue Nov 15 15:25:39 2016 +0100 1.2 +++ b/cryptsetup/receipt Fri Oct 20 23:49:15 2017 +0200 1.3 @@ -1,33 +1,41 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cryptsetup" 1.8 -VERSION="1.7.3" 1.9 +VERSION="1.7.5" 1.10 CATEGORY="system-tools" 1.11 SHORT_DESC="dm-crypt setup tool for encryption of block devices" 1.12 MAINTAINER="b1+slitaz@nagel.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://gitlab.com/cryptsetup/cryptsetup" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 -WEB_SITE="https://gitlab.com/$PACKAGE/$PACKAGE" 1.18 -WGET_URL="https://www.kernel.org/pub/linux/utils/$PACKAGE/v${VERSION%.*}/$TARBALL" 1.19 +WGET_URL="https://www.kernel.org/pub/linux/utils/cryptsetup/v${VERSION%.*}/$TARBALL" 1.20 1.21 -DEPENDS="e2fsprogs popt libgcrypt libdevmapper" 1.22 -BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \ 1.23 -libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt" 1.24 +BUILD_DEPENDS="util-linux-uuid-dev libdevmapper-dev popt-dev libgcrypt-dev" 1.25 +SPLIT="cryptsetup-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 ./configure \ 1.31 - --prefix=/usr \ 1.32 - $CONFIGURE_ARGS && 1.33 - make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + --disable-static \ 1.36 + --enable-cryptsetup-reencrypt \ 1.37 + $CONFIGURE_ARGS && 1.38 + make && make install 1.39 } 1.40 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 - mkdir -p $fs/usr/lib 1.45 - cp -a $install/usr/sbin $fs/usr 1.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.47 + case $PACKAGE in 1.48 + cryptsetup) 1.49 + copy @std 1.50 + DEPENDS="libdevmapper libgcrypt libgpg-error popt util-linux-uuid" 1.51 + ;; 1.52 + *-dev) 1.53 + copy @dev 1.54 + DEPENDS="cryptsetup libdevmapper-dev libgcrypt-dev \ 1.55 + libgpg-error-dev util-linux-uuid-dev" 1.56 + ;; 1.57 + esac 1.58 }