wok-current annotate pinentry-gtk/receipt @ rev 19654
busybox: add buf 9471 fix (for wget)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 25 09:31:52 2017 +0100 (2017-01-25) |
parents | ac006a7bf27c |
children | c4fe13824294 |
rev | line source |
---|---|
gokhlayeh@9190 | 1 # SliTaz package receipt. |
gokhlayeh@9190 | 2 |
gokhlayeh@9190 | 3 PACKAGE="pinentry-gtk" |
al@19226 | 4 VERSION="0.9.7" |
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" |
gokhlayeh@9190 | 12 |
al@19226 | 13 DEPENDS="gtk+ libassuan libcap libsecret libtinfo ncursesw" |
al@19226 | 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncursesw-dev \ |
al@19227 | 15 libcap-dev gtk+-dev libgcrypt-dev" |
al@19226 | 16 SIBLINGS="pinentry" |
pascal@15130 | 17 |
gokhlayeh@9190 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@9190 | 19 |
gokhlayeh@9190 | 20 compile_rules() |
gokhlayeh@9190 | 21 { |
al@19226 | 22 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
al@19226 | 23 echo "9bdcf5f4096aa8b26956afb0ecdd3d7849ffa0cd $SRC/$TARBALL" | sha1sum -c || exit 1 |
al@19226 | 24 |
pascal@17670 | 25 export LDFLAGS="$LDFLAGS -ltinfo" |
al@19226 | 26 ./configure \ |
al@19226 | 27 --enable-pinentry-gtk2 \ |
gokhlayeh@9190 | 28 --enable-fallback-curses \ |
gokhlayeh@9190 | 29 --disable-pinentry-curses \ |
gokhlayeh@11573 | 30 $CONFIGURE_ARGS && |
gokhlayeh@9190 | 31 make && |
gokhlayeh@9190 | 32 make install |
gokhlayeh@9190 | 33 } |
gokhlayeh@9190 | 34 |
gokhlayeh@9190 | 35 genpkg_rules() |
gokhlayeh@9190 | 36 { |
gokhlayeh@9190 | 37 mkdir -p $fs/usr/ |
pascal@15130 | 38 cp -a $install/usr/bin $fs/usr |
gokhlayeh@9190 | 39 } |