wok annotate pinentry/receipt @ rev 12759
epdfview: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:15:54 2012 +0200 (2012-05-12) |
parents | |
children | da4ba6017372 |
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." |
gokhlayeh@9190 | 7 DEPENDS="ncursesw libcap" |
gokhlayeh@9190 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@9190 | 9 WEB_SITE="http://www.gnupg.org/" |
gokhlayeh@9190 | 10 WGET_URL="ftp://ftp.gnupg.org/gcrypt/pinentry/$TARBALL" |
gokhlayeh@9190 | 11 |
gokhlayeh@9190 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@9190 | 13 |
gokhlayeh@9190 | 14 compile_rules() |
gokhlayeh@9190 | 15 { |
gokhlayeh@9190 | 16 cd $src |
gokhlayeh@9190 | 17 ./configure --enable-pinentry-curses \ |
gokhlayeh@9190 | 18 --disable-pinentry-gtk \ |
gokhlayeh@9190 | 19 --disable-pinentry-gtk2 \ |
gokhlayeh@9190 | 20 --disable-pinentry-qt \ |
gokhlayeh@9190 | 21 --disable-pinentry-qt4 && |
gokhlayeh@9190 | 22 make && make install |
gokhlayeh@9190 | 23 } |
gokhlayeh@9190 | 24 |
gokhlayeh@9190 | 25 genpkg_rules() |
gokhlayeh@9190 | 26 { |
gokhlayeh@9190 | 27 mkdir -p $fs/usr/ |
gokhlayeh@9190 | 28 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@9190 | 29 } |