wok annotate pinentry/receipt @ rev 18009

slitaz-base-files: up (270)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 30 02:11:11 2015 +0300 (2015-04-30)
parents da4ba6017372
children ac006a7bf27c
rev   line source
gokhlayeh@9190 1 # SliTaz package receipt.
gokhlayeh@9190 2
gokhlayeh@9190 3 PACKAGE="pinentry"
gokhlayeh@9190 4 VERSION="0.8.1"
gokhlayeh@9190 5 CATEGORY="security"
gokhlayeh@9190 6 SHORT_DESC="pinentry is a small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner."
pascal@15090 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15090 8 LICENSE="GPL2"
gokhlayeh@9190 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@9190 10 WEB_SITE="http://www.gnupg.org/"
gokhlayeh@9190 11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/pinentry/$TARBALL"
gokhlayeh@9190 12
pascal@15090 13 DEPENDS="ncursesw libcap"
pascal@15090 14 BUILD_DEPENDS="ncursesw-dev libcap-dev"
pascal@15090 15
gokhlayeh@9190 16 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@9190 17
gokhlayeh@9190 18 compile_rules()
gokhlayeh@9190 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -ltinfo"
gokhlayeh@9190 21 ./configure --enable-pinentry-curses \
gokhlayeh@9190 22 --disable-pinentry-gtk \
gokhlayeh@9190 23 --disable-pinentry-gtk2 \
gokhlayeh@9190 24 --disable-pinentry-qt \
gokhlayeh@9190 25 --disable-pinentry-qt4 &&
gokhlayeh@9190 26 make && make install
gokhlayeh@9190 27 }
gokhlayeh@9190 28
gokhlayeh@9190 29 genpkg_rules()
gokhlayeh@9190 30 {
gokhlayeh@9190 31 mkdir -p $fs/usr/
pascal@15090 32 cp -a $install/usr/bin $fs/usr
gokhlayeh@9190 33 }