wok annotate libgpg-error/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents 5d79829fa876
children
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgpg-error"
Hans-G?nter@24793 4 VERSION="1.44"
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
Hans-G?nter@24793 14 SUGGESTED="libgpg-error-lang"
pascal@14714 15 DEPENDS=""
Hans-G?nter@24793 16
Hans-G?nter@21225 17 HOST_ARCH="i486 arm"
pascal@14714 18
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24072 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
erjo@180 25 # Rules to configure and make the package.
erjo@180 26 compile_rules()
erjo@180 27 {
al@19226 28 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@24793 29 echo "c16ab473d1e558ba1712c77ace38bd03e467cbb0 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 30
pankso@15974 31 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24793 32 make &&
Hans-G?nter@24793 33 make install DESTDIR=$DESTDIR
al@19226 34
al@19226 35 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@180 36 }
erjo@180 37
erjo@180 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 39 genpkg_rules()
erjo@180 40 {
Hans-G?nter@24793 41 mkdir -p $fs/usr/bin
Hans-G?nter@24793 42 mkdir -p $fs/usr/lib
al@19226 43
Hans-G?nter@21225 44 cp -a $install/usr/bin/gpg-error $fs/usr/bin
Hans-G?nter@21225 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@180 46 }