wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpgme"
4 VERSION="1.11.1"
5 CATEGORY="security"
6 SHORT_DESC="C language library that allows to add support for cryptography to a program."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://www.gnupg.org/related_software/gpgme/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
13 DEPENDS="libassuan gnupg"
14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev gnupg gcc63 gcc63-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Integrity check: https://www.gnupg.org/download/integrity_check.html
20 echo "95b1fc427871ca8d30d6d3b1985c816fe0b5077b $SRC/$TARBALL" | sha1sum -c || exit 1
22 export CC=gcc-63 CXX=g++-63
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/lib
30 cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }