wok-next view volume_key/receipt @ rev 20460

Tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 03 17:38:00 2018 +0200 (2018-03-03)
parents
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="volume_key"
4 VERSION="0.3.9"
5 CATEGORY="libs"
6 SHORT_DESC="Manipulating storage volume encryption keys"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://pagure.io/volume_key"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/volume_key.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://releases.pagure.org/volume_key/$TARBALL"
15 BUILD_DEPENDS="automake gettext gpgme-dev libtool cryptsetup-dev nss-dev \
16 python-dev"
17 SPLIT="volume_key-dev volume_key-python"
19 compile_rules() {
20 sed -i '/config.h/d' lib/libvolume_key.h &&
21 autoreconf -fiv &&
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 volume_key)
29 copy @std; rm -r $fs/usr/lib/python2.7/
30 DEPENDS="cryptsetup glib gpgme libassuan libdevmapper libgcrypt \
31 libgpg-error nspr nss pcre util-linux-blkid util-linux-uuid"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="volume_key volume_key-python cryptsetup-dev glib-dev \
36 gpgme-dev libassuan-dev libdevmapper-dev libgcrypt-dev \
37 libgpg-error-dev nspr-dev nss-dev pcre-dev python-dev \
38 util-linux-blkid-dev util-linux-uuid-dev"
39 ;;
40 *-python)
41 copy site-packages/; remove_already_packed
42 CAT="libs|python bindings"
43 DEPENDS="volume_key python"
44 ;;
45 esac
46 }