wok annotate pinentry-gtk/receipt @ rev 15649

Up: hubbub (0.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:06:02 2013 +0000 (2013-12-10)
parents 8c01b80af4f4
children 17e313b5b9c1
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 {
gokhlayeh@9190 22 cd $src
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 }