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

openal: added LDFLAGS
author Hans-G?nter Theisgen
date Mon Apr 20 13:36:35 2020 +0100 (2020-04-20)
parents 3fe0ed7c1aac
children af8d823a3077
rev   line source
erjo@1420 1 # SliTaz package receipt.
erjo@1420 2
erjo@1420 3 PACKAGE="gpgme"
Hans-G?nter@22874 4 VERSION="1.13.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/"
Hans-G?nter@22874 10
erjo@1420 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
erjo@1420 13
Hans-G?nter@22874 14 DEPENDS="gcc83-lib-base gnupg libassuan"
Hans-G?nter@22874 15 BUILD_DEPENDS="gcc83 gnupg libassuan-dev libgpg-error-dev"
erjo@9943 16
erjo@1420 17 # Rules to configure and make the package.
erjo@1420 18 compile_rules()
erjo@1420 19 {
al@19226 20 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@22874 21 echo "f87f34e695e8d74ccc7c8f42864d50630afebb0e $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 22
Hans-G?nter@22874 23 ./configure \
Hans-G?nter@22874 24 CC=gcc-83 \
Hans-G?nter@22874 25 CXX=g++-83 \
Hans-G?nter@22874 26 $CONFIGURE_ARGS &&
Hans-G?nter@22874 27 make &&
Hans-G?nter@22874 28 make install
erjo@1420 29 }
erjo@1420 30
erjo@1420 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1420 32 genpkg_rules()
erjo@1420 33 {
Hans-G?nter@22874 34 mkdir -p $fs/usr/bin
Hans-G?nter@22874 35 mkdir -p $fs/usr/lib
Hans-G?nter@22874 36
Hans-G?nter@22874 37 cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
Hans-G?nter@22874 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1420 39 }