wok-next diff volume_key/receipt @ rev 20198
linld: updates from rolling
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 15:13:54 2017 +0100 (2017-11-03) |
parents | |
children | d43bf7aae921 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/volume_key/receipt Fri Nov 03 15:13:54 2017 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="volume_key" 1.7 +VERSION="0.3.9" 1.8 +CATEGORY="libs" 1.9 +SHORT_DESC="Manipulating storage volume encryption keys" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://pagure.io/volume_key" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/volume_key.html" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 +WGET_URL="https://releases.pagure.org/volume_key/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="automake gettext gpgme-dev libtool cryptsetup-dev nss-dev \ 1.19 +python-dev" 1.20 +SPLIT="volume_key-dev volume_key-python" 1.21 + 1.22 +compile_rules() { 1.23 + sed -i '/config.h/d' lib/libvolume_key.h && 1.24 + autoreconf -fiv && 1.25 + 1.26 + ./configure $CONFIGURE_ARGS && make && make install 1.27 +} 1.28 + 1.29 +genpkg_rules() { 1.30 + case $PACKAGE in 1.31 + volume_key) 1.32 + copy @std; rm -r $fs/usr/lib/python2.7/ 1.33 + DEPENDS="cryptsetup glib gpgme libassuan libdevmapper libgcrypt \ 1.34 + libgpg-error nspr nss pcre util-linux-blkid util-linux-uuid" 1.35 + ;; 1.36 + *-dev) 1.37 + copy @dev 1.38 + DEPENDS="volume_key volume_key-python cryptsetup-dev glib-dev \ 1.39 + gpgme-dev libassuan-dev libdevmapper-dev libgcrypt-dev \ 1.40 + libgpg-error-dev nspr-dev nss-dev pcre-dev python-dev \ 1.41 + util-linux-blkid-dev util-linux-uuid-dev" 1.42 + ;; 1.43 + *-python) 1.44 + copy site-packages/; remove_already_packed 1.45 + CAT="libs|python bindings" 1.46 + DEPENDS="volume_key python" 1.47 + ;; 1.48 + esac 1.49 +}