wok annotate pinentry/receipt @ rev 25467

Up gnumeric (1.12.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 03 08:28:51 2022 +0000 (2022-10-03)
parents 6655176c9e79
children
rev   line source
gokhlayeh@9190 1 # SliTaz package receipt.
gokhlayeh@9190 2
gokhlayeh@9190 3 PACKAGE="pinentry"
erkan@20348 4 VERSION="1.1.0"
gokhlayeh@9190 5 CATEGORY="security"
al@19226 6 SHORT_DESC="Collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner."
pascal@15090 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15090 8 LICENSE="GPL2"
al@19226 9 WEB_SITE="https://www.gnupg.org/"
al@19226 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/pinentry/$TARBALL"
gokhlayeh@9190 12
erkan@20353 13 DEPENDS="libassuan libcap libgio libsecret ncursesw"
al@19226 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncursesw-dev \
erkan@20353 15 libcap-dev libgcrypt-dev"
al@19226 16 SIBLINGS="pinentry-gtk"
pascal@15090 17
pascal@24453 18 # What is the latest version available today?
pascal@24453 19 current_version()
pascal@24453 20 {
pascal@24453 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 23 }
pascal@24453 24
gokhlayeh@9190 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@9190 26
gokhlayeh@9190 27 compile_rules()
gokhlayeh@9190 28 {
al@19226 29 # Integrity check: https://www.gnupg.org/download/integrity_check.html
erkan@20348 30 echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 31
erkan@20352 32 ./configure --enable-pinentry-curses --build=i486-slitaz-linux-gnu &&
al@19226 33 make && make install
gokhlayeh@9190 34 }
gokhlayeh@9190 35
gokhlayeh@9190 36 genpkg_rules()
gokhlayeh@9190 37 {
al@19226 38 mkdir -p $fs/usr
pascal@15090 39 cp -a $install/usr/bin $fs/usr
gokhlayeh@9190 40 }