wok-next view volume_key/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | cd7906120828 |
children | d5aab818505e |
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 gpgme-dev libtool cryptsetup-dev nss-dev \
17 python3-dev util-linux-blkid-dev glib-dev"
18 SPLIT="volume_key-python volume_key volume_key-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 }