wok annotate gpgme/receipt @ rev 20022
Up zlib (1.2.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 15 15:27:46 2017 +0200 (2017-08-15) |
parents | e10edbeeabb4 |
children | 147135448bcf |
rev | line source |
---|---|
erjo@1420 | 1 # SliTaz package receipt. |
erjo@1420 | 2 |
erjo@1420 | 3 PACKAGE="gpgme" |
al@19226 | 4 VERSION="1.6.0" |
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 |
al@19226 | 13 DEPENDS="libassuan" |
al@19226 | 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev" |
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 |
al@19226 | 20 echo "21510323495f6220f8f67610c3c27a23d761d43d $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 } |