wok annotate libgpg-error/receipt @ rev 20993

gpicview: modified TARBALL
author Hans-G?nter Theisgen
date Thu Mar 07 17:13:01 2019 +0100 (2019-03-07)
parents 13806712bef0
children e0e82f52d832
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgpg-error"
erkan@20344 4 VERSION="1.31"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="Commons error messages for GnuPG."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
al@19226 9 WEB_SITE="https://www.gnupg.org/related_software/libgpg-error/"
erjo@180 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgpg-error/$TARBALL"
pankso@15974 12 HOST_ARCH="i486 arm"
erjo@180 13
pascal@14714 14 DEPENDS=""
pascal@14714 15
erjo@180 16 # Rules to configure and make the package.
erjo@180 17 compile_rules()
erjo@180 18 {
al@19226 19 # Integrity check: https://www.gnupg.org/download/integrity_check.html
erkan@20344 20 echo "2bafad316d4e3e12bae4822b14ed9020090e6acf $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 21
al@19226 22 # touch src/extra-h.in
pankso@15974 23 ./configure $CONFIGURE_ARGS &&
pankso@15974 24 make && make DESTDIR=$DESTDIR install
al@19226 25
al@19226 26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@180 27 }
erjo@180 28
erjo@180 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 30 genpkg_rules()
erjo@180 31 {
erjo@180 32 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
al@19226 33
pascal@14714 34 cp -a $install/usr/bin/gpg-error $fs/usr/bin
pascal@14714 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19257 36 #cp -a $install/usr/share/man $fs/usr/share
erjo@180 37 }