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

pinentry: try with newer gcc and specify build
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 13:10:46 2018 +0000 (2018-06-09)
parents a99cad7f1ceb
children 6655176c9e79
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"
erkan@20351 12 HOST_ARCH="i486 arm"
gokhlayeh@9190 13
erkan@20352 14 DEPENDS="gtk+ libassuan libcap libsecret libtinfo ncursesw gcc63"
al@19226 15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncursesw-dev \
erkan@20350 16 libcap-dev gtk+-dev libgcrypt-dev fltk-dev"
al@19226 17 SIBLINGS="pinentry"
pascal@15130 18
gokhlayeh@9190 19 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@9190 20
gokhlayeh@9190 21 compile_rules()
gokhlayeh@9190 22 {
al@19226 23 # Integrity check: https://www.gnupg.org/download/integrity_check.html
erkan@20348 24 echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 25
pascal@17670 26 export LDFLAGS="$LDFLAGS -ltinfo"
al@19226 27 ./configure \
al@19226 28 --enable-pinentry-gtk2 \
gokhlayeh@9190 29 --enable-fallback-curses \
gokhlayeh@9190 30 --disable-pinentry-curses \
erkan@20352 31 --build=i486-slitaz-linux-gnu \
gokhlayeh@11573 32 $CONFIGURE_ARGS &&
gokhlayeh@9190 33 make &&
gokhlayeh@9190 34 make install
gokhlayeh@9190 35 }
gokhlayeh@9190 36
gokhlayeh@9190 37 genpkg_rules()
gokhlayeh@9190 38 {
gokhlayeh@9190 39 mkdir -p $fs/usr/
pascal@15130 40 cp -a $install/usr/bin $fs/usr
gokhlayeh@9190 41 }