wok-current annotate pinentry-gtk/receipt @ rev 20350

pinentry: let it find fltk-config
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 11:03:44 2018 +0000 (2018-06-09)
parents c4fe13824294
children a99cad7f1ceb
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"
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 \
erkan@20350 15 libcap-dev gtk+-dev libgcrypt-dev fltk-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
erkan@20348 23 echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0 $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 }