wok annotate gpgme/receipt @ rev 20490
Add meson & ninja
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 27 18:38:19 2018 +0200 (2018-10-27) |
parents | aaa2048b5391 |
children | 3fe0ed7c1aac |
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@20363 | 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev gnupg gcc63 gcc63-lib-base" |
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 |
erkan@20363 | 22 export CC=gcc-63 CXX=g++-63 |
al@19226 | 23 ./configure $CONFIGURE_ARGS && make && make install |
erjo@1420 | 24 } |
erjo@1420 | 25 |
erjo@1420 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1420 | 27 genpkg_rules() |
erjo@1420 | 28 { |
al@19226 | 29 mkdir -p $fs/usr/bin $fs/usr/lib |
al@19226 | 30 cp -a $install/usr/bin/gpgme-tool $fs/usr/bin |
pascal@15000 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@1420 | 32 } |