wok annotate gpgme/receipt @ rev 20362

gpgme: did not find gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 17:59:58 2018 +0000 (2018-06-09)
parents 987d51d5279b
children f4802f2f5ea1
rev   line source
erjo@1420 1 # SliTaz package receipt.
erjo@1420 2
erjo@1420 3 PACKAGE="gpgme"
erkan@20359 4 VERSION="1.11.1"
erjo@1420 5 CATEGORY="security"
erjo@1420 6 SHORT_DESC="C language library that allows to add support for cryptography to a program."
erjo@1420 7 MAINTAINER="erjo@slitaz.org"
al@19226 8 LICENSE="GPL2 LGPL2.1"
al@19226 9 WEB_SITE="https://www.gnupg.org/related_software/gpgme/"
erjo@1420 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
erjo@1420 12
erkan@20362 13 DEPENDS="libassuan gnupg"
erkan@20361 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev gnupg"
erjo@9943 15
erjo@1420 16 # Rules to configure and make the package.
erjo@1420 17 compile_rules()
erjo@1420 18 {
al@19226 19 # Integrity check: https://www.gnupg.org/download/integrity_check.html
erkan@20359 20 echo "95b1fc427871ca8d30d6d3b1985c816fe0b5077b $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 21
al@19226 22 ./configure $CONFIGURE_ARGS && make && make install
erjo@1420 23 }
erjo@1420 24
erjo@1420 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1420 26 genpkg_rules()
erjo@1420 27 {
al@19226 28 mkdir -p $fs/usr/bin $fs/usr/lib
al@19226 29 cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
pascal@15000 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1420 31 }