wok-6.x annotate libgcrypt/receipt @ rev 23455

updated pulseaudio packages again (12.2 -> 13.0)
author Hans-G?nter Theisgen
date Fri Apr 03 13:47:09 2020 +0100 (2020-04-03)
parents f83b91339ec0
children 5d79829fa876
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgcrypt"
Hans-G?nter@23031 4 VERSION="1.8.5"
erjo@180 5 CATEGORY="security"
Hans-G?nter@23031 6 SHORT_DESC="Cryptographic library based on GnuPG."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15473 8 LICENSE="GPL2 LGPL2.1"
Hans-G?nter@23031 9 WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/"
Hans-G?nter@23031 10
erjo@180 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL"
pankso@10363 13
pankso@10363 14 DEPENDS="libgpg-error"
pankso@10363 15 BUILD_DEPENDS="libgpg-error-dev"
erjo@180 16
Hans-G?nter@23031 17 HOST_ARCH="i486 arm"
Hans-G?nter@23031 18
erjo@180 19 # Rules to configure and make the package.
erjo@180 20 compile_rules()
erjo@180 21 {
al@19226 22 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@23031 23 echo "2d8781e92f88706707a1e76fb628b499ad538a30 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 24
pankso@15978 25 case "$ARCH" in
pankso@15978 26 arm)
pankso@15978 27 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
pankso@15978 28 ./configure \
pankso@15978 29 --build=i486-slitaz-linux \
pankso@15978 30 --host=arm-slitaz-linux-gnueabi ;;
pankso@15978 31 *)
pascal@17670 32 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgpg-error"
Hans-G?nter@23031 33 ./configure \
Hans-G?nter@23031 34 --build=$HOST_SYSTEM \
pankso@15978 35 --host=$HOST_SYSTEM ;;
pankso@15978 36 esac &&
Hans-G?nter@23031 37 make &&
Hans-G?nter@23031 38 make install
al@19226 39
al@19226 40 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@180 41 }
erjo@180 42
erjo@180 43 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 44 genpkg_rules()
erjo@180 45 {
Hans-G?nter@23031 46 mkdir -p $fs/usr/bin
Hans-G?nter@23031 47 mkdir -p $fs/usr/lib
Hans-G?nter@23031 48
Hans-G?nter@23031 49 cp -a $install/usr/bin/dumpsexp $fs/usr/bin
Hans-G?nter@23031 50 cp -a $install/usr/bin/hmac256 $fs/usr/bin
Hans-G?nter@23031 51 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@180 52 }