wok-6.x annotate gpgme/receipt @ rev 22792

recompiled xneur
author Hans-G?nter Theisgen
date Mon Jan 27 09:19:20 2020 +0100 (2020-01-27)
parents f4802f2f5ea1
children b0c94f3ac5fd
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
pascal@22396 13 DEPENDS="libassuan gnupg gcc83-lib-base"
pascal@22396 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev gnupg gcc83 gcc83-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
pascal@22396 22 export CC=gcc-83 CXX=g++-83
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 }