wok-next annotate 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 |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
al@19957 | 2 |
al@19957 | 3 PACKAGE="volume_key" |
al@20905 | 4 VERSION="0.3.11" |
al@19957 | 5 CATEGORY="libs" |
al@19957 | 6 SHORT_DESC="Manipulating storage volume encryption keys" |
al@19957 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19957 | 8 LICENSE="GPL2" |
al@19957 | 9 WEB_SITE="https://pagure.io/volume_key" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/volume_key.html" |
al@20888 | 11 REPOLOGY="volume-key" |
al@19957 | 12 |
al@19957 | 13 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19957 | 14 WGET_URL="https://releases.pagure.org/volume_key/$TARBALL" |
al@19957 | 15 |
al@21020 | 16 BUILD_DEPENDS="automake gettext-dev gpgme-dev libtool cryptsetup-dev nss-dev \ |
al@20905 | 17 python3-dev util-linux-blkid-dev glib-dev" |
al@21020 | 18 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev" |
al@19957 | 19 |
al@19957 | 20 compile_rules() { |
al@21020 | 21 sed -i '/config.h/d' lib/libvolume_key.h |
al@19957 | 22 autoreconf -fiv && |
al@19957 | 23 |
al@20557 | 24 ./configure $CONFIGURE_ARGS && |
al@20604 | 25 fix libtool && |
al@20557 | 26 make && |
al@20557 | 27 make install |
al@19957 | 28 } |
al@19957 | 29 |
al@19957 | 30 genpkg_rules() { |
al@19957 | 31 case $PACKAGE in |
al@20557 | 32 *-python) |
al@20905 | 33 copy python3.*/ |
al@20557 | 34 find $fs -name '*.la' -delete |
al@20905 | 35 CAT="libs|python 3 bindings" |
al@20905 | 36 DEPENDS="glib nss python3 volume_key" |
al@20557 | 37 ;; |
al@19957 | 38 volume_key) |
al@20557 | 39 copy @std @rm |
al@20749 | 40 DEPENDS="cryptsetup glib gpgme nspr nss util-linux-blkid \ |
al@20749 | 41 libassuan libdevmapper libgcrypt libgpg-error" |
al@19957 | 42 ;; |
al@19957 | 43 *-dev) |
al@19957 | 44 copy @dev |
al@19957 | 45 ;; |
al@19957 | 46 esac |
al@19957 | 47 } |