wok-current annotate libgpg-error/receipt @ rev 22437

john: fix link, add to right place
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 22 16:03:18 2019 +0000 (2019-12-22)
parents b9470f5e6cae
children ef282a5e0203
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgpg-error"
Hans-G?nter@21225 4 VERSION="1.36"
erjo@180 5 CATEGORY="security"
Hans-G?nter@21225 6 SHORT_DESC="Common error messages for GnuPG."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
Hans-G?nter@21225 9 WEB_SITE="https://www.gnupg.org/software/libgpg-error/"
Hans-G?nter@21225 10
erjo@180 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21225 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/$PACKAGE/$TARBALL"
erjo@180 13
pascal@14714 14 DEPENDS=""
Hans-G?nter@21225 15 HOST_ARCH="i486 arm"
pascal@14714 16
erjo@180 17 # Rules to configure and make the package.
erjo@180 18 compile_rules()
erjo@180 19 {
al@19226 20 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@21225 21 echo "5245ce38b198cecd57775fb3c7b7328ec1a2a615 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 22
pankso@15974 23 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21225 24 make -j 1 &&
Hans-G?nter@21225 25 make DESTDIR=$DESTDIR install
al@19226 26
al@19226 27 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@180 28 }
erjo@180 29
erjo@180 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 31 genpkg_rules()
erjo@180 32 {
Hans-G?nter@21225 33 mkdir -p $fs/usr/bin $fs/usr/lib
Hans-G?nter@21225 34 mkdir -p $fs/usr/share
al@19226 35
Hans-G?nter@21225 36 cp -a $install/usr/bin/gpg-error $fs/usr/bin
Hans-G?nter@21225 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21225 38 #cp -a $install/usr/share/man $fs/usr/share
erjo@180 39 }