wok-current annotate pinentry-gtk/receipt @ rev 25200
updated python-llfuse (1.3.6 -> 1.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:06:28 2022 +0100 (2022-07-13) |
parents | 6655176c9e79 |
children | 3ad63c8fc2f9 |
rev | line source |
---|---|
gokhlayeh@9190 | 1 # SliTaz package receipt. |
gokhlayeh@9190 | 2 |
gokhlayeh@9190 | 3 PACKAGE="pinentry-gtk" |
erkan@20348 | 4 VERSION="1.1.0" |
gokhlayeh@9190 | 5 CATEGORY="security" |
gokhlayeh@9190 | 6 SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner (GTK+ GUI)." |
pascal@15130 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15130 | 8 LICENSE="GPL2" |
al@19226 | 9 WEB_SITE="https://www.gnupg.org/" |
al@19226 | 10 TARBALL="pinentry-$VERSION.tar.bz2" |
al@19226 | 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/pinentry/$TARBALL" |
erkan@20351 | 12 HOST_ARCH="i486 arm" |
gokhlayeh@9190 | 13 |
erkan@20353 | 14 DEPENDS="gtk+ libassuan libcap libsecret libtinfo ncursesw" |
al@19226 | 15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncursesw-dev \ |
erkan@20353 | 16 libcap-dev gtk+-dev libgcrypt-dev" |
al@19226 | 17 SIBLINGS="pinentry" |
pascal@15130 | 18 |
pascal@24453 | 19 # What is the latest version available today? |
pascal@24453 | 20 current_version() |
pascal@24453 | 21 { |
pascal@24453 | 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 23 sed "/latest/d;/pinentry-[0-9]/!d;/tar/!d;s|.*pinentry-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 24 } |
pascal@24453 | 25 |
gokhlayeh@9190 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@9190 | 27 |
gokhlayeh@9190 | 28 compile_rules() |
gokhlayeh@9190 | 29 { |
al@19226 | 30 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
erkan@20348 | 31 echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0 $SRC/$TARBALL" | sha1sum -c || exit 1 |
al@19226 | 32 |
pascal@17670 | 33 export LDFLAGS="$LDFLAGS -ltinfo" |
al@19226 | 34 ./configure \ |
al@19226 | 35 --enable-pinentry-gtk2 \ |
gokhlayeh@9190 | 36 --enable-fallback-curses \ |
gokhlayeh@9190 | 37 --disable-pinentry-curses \ |
erkan@20352 | 38 --build=i486-slitaz-linux-gnu \ |
gokhlayeh@11573 | 39 $CONFIGURE_ARGS && |
gokhlayeh@9190 | 40 make && |
gokhlayeh@9190 | 41 make install |
gokhlayeh@9190 | 42 } |
gokhlayeh@9190 | 43 |
gokhlayeh@9190 | 44 genpkg_rules() |
gokhlayeh@9190 | 45 { |
gokhlayeh@9190 | 46 mkdir -p $fs/usr/ |
pascal@15130 | 47 cp -a $install/usr/bin $fs/usr |
gokhlayeh@9190 | 48 } |