wok-current view gpgme/receipt @ rev 19787

cookutils: add configs_files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 22 15:11:33 2017 +0100 (2017-02-22)
parents e10edbeeabb4
children 147135448bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="gpgme"
4 VERSION="1.6.0"
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"
14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev"
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 "21510323495f6220f8f67610c3c27a23d761d43d $SRC/$TARBALL" | sha1sum -c || exit 1
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/lib
29 cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }