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

Up: mercurial (3.5.1)
author Alexander Medvedev <devl547@gmail.com>
date Thu Sep 10 22:25:19 2015 +0000 (2015-09-10)
parents f315dcaf1948
children ac006a7bf27c
rev   line source
gokhlayeh@9190 1 # SliTaz package receipt.
gokhlayeh@9190 2
gokhlayeh@9190 3 PACKAGE="pinentry-gtk"
gokhlayeh@9190 4 VERSION="0.8.1"
gokhlayeh@9190 5 CATEGORY="security"
gokhlayeh@9190 6 SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner (GTK+ GUI)."
gokhlayeh@9190 7 # Bring the curses version as fallback if there's no X display.
gokhlayeh@9190 8 SOURCE="pinentry"
pascal@15130 9 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15130 10 LICENSE="GPL2"
gokhlayeh@9190 11 TARBALL="$SOURCE-$VERSION.tar.gz"
gokhlayeh@9190 12 WEB_SITE="http://www.gnupg.org/"
gokhlayeh@9190 13 WGET_URL="ftp://ftp.gnupg.org/gcrypt/pinentry/$TARBALL"
gokhlayeh@9190 14
pascal@15130 15 DEPENDS="gtk+ libcap pinentry"
pascal@15150 16 BUILD_DEPENDS="gtk+-dev libcap-dev pinentry ncurses-dev"
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 {
pascal@17670 22 export LDFLAGS="$LDFLAGS -ltinfo"
gokhlayeh@9190 23 ./configure --enable-pinentry-gtk2 \
gokhlayeh@9190 24 --enable-fallback-curses \
gokhlayeh@9190 25 --disable-pinentry-curses \
gokhlayeh@9190 26 --disable-pinentry-gtk \
gokhlayeh@9190 27 --disable-pinentry-qt \
gokhlayeh@11573 28 --disable-pinentry-qt4 \
gokhlayeh@11573 29 $CONFIGURE_ARGS &&
gokhlayeh@9190 30 make &&
gokhlayeh@9190 31 make install
gokhlayeh@9190 32 }
gokhlayeh@9190 33
gokhlayeh@9190 34 genpkg_rules()
gokhlayeh@9190 35 {
gokhlayeh@9190 36 mkdir -p $fs/usr/
pascal@15130 37 cp -a $install/usr/bin $fs/usr
gokhlayeh@9190 38 }