wok-next view volume_key/receipt @ rev 20649
grub2-efi: remove duplicate modules (thanks alanyih)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 10:48:37 2018 +0200 (2018-05-04) |
parents | 9e5dca6702bf |
children | 342b30daff76 |
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-python volume_key volume_key-dev"
19 compile_rules() {
20 sed -i '/config.h/d' lib/libvolume_key.h &&
21 autoreconf -fiv &&
23 ./configure $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-python)
32 copy python2.7/
33 find $fs -name '*.la' -delete
34 CAT="libs|python bindings"
35 DEPENDS="volume_key python"
36 ;;
37 volume_key)
38 copy @std @rm
39 DEPENDS="cryptsetup glib gpgme libassuan libdevmapper libgcrypt \
40 libgpg-error nspr nss pcre util-linux-blkid util-linux-uuid"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="volume_key volume_key-python cryptsetup-dev glib-dev \
45 gpgme-dev libassuan-dev libdevmapper-dev libgcrypt-dev \
46 libgpg-error-dev nspr-dev nss-dev pcre-dev python-dev \
47 util-linux-blkid-dev util-linux-uuid-dev"
48 ;;
49 esac
50 }