wok annotate gpa/receipt @ rev 25779

Up fdutils (5.6), lite (1.11), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:24:30 2024 +0000 (2 months ago)
parents 9720efce20e7
children
rev   line source
erjo@1345 1 # SliTaz package receipt.
erjo@1345 2
erjo@1345 3 PACKAGE="gpa"
Hans-G?nter@22873 4 VERSION="0.10.0"
erjo@1345 5 CATEGORY="security"
Hans-G?nter@22873 6 SHORT_DESC="Gnu Privacy Assistant."
erjo@1345 7 MAINTAINER="erjo@slitaz.org"
pascal@15331 8 LICENSE="GPL3"
al@19226 9 WEB_SITE="https://www.gnupg.org/related_software/gpa/"
Hans-G?nter@22873 10
erjo@1345 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL"
erjo@1345 13
al@19226 14 DEPENDS="gpgme gtk+ pinentry-gtk"
Hans-G?nter@22873 15 BUILD_DEPENDS="gpgme-dev gtk+-dev libassuan-dev libgpg-error-dev"
al@19226 16 SPLIT="gpa-langpack"
erjo@9932 17
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 23 }
pascal@24445 24
erjo@1345 25 # Rules to configure and make the package.
erjo@1345 26 compile_rules()
erjo@1345 27 {
al@19226 28 # Integrity check: https://www.gnupg.org/download/integrity_check.html
Hans-G?nter@22873 29 echo "61475989acd12de8b7daacd906200e8b4f519c5a $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 30
Hans-G?nter@22873 31 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22873 32 make &&
Hans-G?nter@22873 33 make install
al@19226 34
al@19226 35 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
erjo@1345 36 }
erjo@1345 37
erjo@1345 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1345 39 genpkg_rules()
erjo@1345 40 {
Hans-G?nter@22873 41 cp -a $install/* $fs
Hans-G?nter@22873 42 rm -r $fs/usr/share/locale
erjo@1345 43 }