wok-next annotate libgcrypt/receipt @ rev 19768
Up libgpg-error, libassuan, libgcrypt, libksba, npth, gnupg, libsecret, pinentry, gobject-introspection.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 13 20:33:22 2017 +0300 (2017-06-13) |
parents | 35a20e111081 |
children | 2d54d154d5ca |
rev | line source |
---|---|
al@19768 | 1 # SliTaz package receipt v2. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="libgcrypt" |
al@19768 | 4 VERSION="1.7.7" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="Cryptographic library based on GnuPG" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15473 | 8 LICENSE="GPL2 LGPL2.1" |
al@19607 | 9 WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/" |
al@19607 | 10 HOST_ARCH="i486 arm" |
al@19607 | 11 |
erjo@180 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19226 | 13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL" |
al@19768 | 14 # https://www.gnupg.org/download/integrity_check.html |
al@19768 | 15 TARBALL_SHA1="ea4ae1a4dba51f15095319419d7b42a0bf160384" |
pankso@10363 | 16 |
pankso@10363 | 17 BUILD_DEPENDS="libgpg-error-dev" |
al@19768 | 18 SPLIT="libgcrypt-dev" |
erjo@180 | 19 |
erjo@180 | 20 # Rules to configure and make the package. |
erjo@180 | 21 compile_rules() |
erjo@180 | 22 { |
pankso@15978 | 23 case "$ARCH" in |
pankso@15978 | 24 arm) |
pankso@15978 | 25 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error" |
pankso@15978 | 26 ./configure \ |
pankso@15978 | 27 --build=i486-slitaz-linux \ |
pankso@15978 | 28 --host=arm-slitaz-linux-gnueabi ;; |
pankso@15978 | 29 *) |
pankso@15978 | 30 ./configure \ |
pankso@15978 | 31 --build=$HOST_SYSTEM \ |
pankso@15978 | 32 --host=$HOST_SYSTEM ;; |
pankso@15978 | 33 esac && |
pankso@10363 | 34 make && make install |
erjo@180 | 35 } |
erjo@180 | 36 |
erjo@180 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 38 genpkg_rules() |
erjo@180 | 39 { |
al@19768 | 40 case $PACKAGE in |
al@19768 | 41 libgcrypt) copy @std; DEPENDS="libgpg-error";; |
al@19768 | 42 *-dev) copy @dev; DEPENDS="libgcrypt libgpg-error-dev";; |
al@19768 | 43 esac |
erjo@180 | 44 } |