wok-next view volume_key/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 e7a485521d6a
children 0f2575775b2d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="volume_key"
4 VERSION="0.3.11"
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/svn/postlfs/volume_key.html"
11 REPOLOGY="volume-key"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="https://releases.pagure.org/volume_key/$TARBALL"
16 BUILD_DEPENDS="automake gettext-dev gpgme-dev libtool cryptsetup-dev nss-dev \
17 python3-dev util-linux-blkid-dev glib-dev"
18 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 sed -i '/config.h/d' lib/libvolume_key.h
22 autoreconf -fiv &&
24 ./configure $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-python)
33 copy python3.*/
34 find $fs -name '*.la' -delete
35 CAT="libs|python 3 bindings"
36 DEPENDS="glib nss python3 volume_key"
37 ;;
38 volume_key)
39 copy @std @rm
40 DEPENDS="cryptsetup glib gpgme nspr nss util-linux-blkid \
41 libassuan libdevmapper libgcrypt libgpg-error"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }