diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-09 14:15:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-09 14:15:16 +0000 |
commit | c5f7cb1eadc89e33d4659c3191aba8a6086d5833 (patch) | |
tree | 4e44b6a556babc0f487d2d0ad88f07e48ac433ef /extra/pinentry | |
parent | 1c8ce6843cd377ba6dc543de0c57cfd423e988d7 (diff) | |
download | aports-c5f7cb1eadc89e33d4659c3191aba8a6086d5833.tar.bz2 aports-c5f7cb1eadc89e33d4659c3191aba8a6086d5833.tar.xz |
extra/pinentry: new aport
Collection of simple PIN or passphrase entry dialogs which utilize the
Assuan protocol
http://www.gnupg.org/aegypten2
Diffstat (limited to 'extra/pinentry')
-rw-r--r-- | extra/pinentry/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/pinentry/APKBUILD b/extra/pinentry/APKBUILD new file mode 100644 index 00000000..5322ebe7 --- /dev/null +++ b/extra/pinentry/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pinentry +pkgver=0.7.5 +_uiconv_ver=0.3 +pkgrel=0 +pkgdesc="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" +url="http://www.gnupg.org/aegypten2" +license="GPL-2" +depends="ncurses libcap" +makedepends="ncurses-dev libcap-dev" +subpackages="$pkgname-doc" +source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz + http://git.alpinelinux.org/cgit/uiconv/snapshot/uiconv-$_uiconv_ver.tar.bz2 + " + +build () { + # we build it against uiconv to avoid the bloaty GNU libiconv. + # it will be linked statically so we don't need it in depends + cd "$srcdir/uiconv-$_uiconv_ver" + make + make DESTDIR="$srcdir" PREFIX=/uiconv install + + cd "$srcdir"/$pkgname-$pkgver + + # the configure script have a broken --with-libiconv-prefix option + # so we set the -I and -L flags hard + export CFLAGS="$CFLAGS -I $srcdir/uiconv/include" + export LDFLAGS="$LDFLAGS -L $srcdir/uiconv/lib" + + ./configure --prefix=/usr \ + --disable-pinentry-gtk \ + --disable-pinentry-gtk2 \ + --disable-pinentry-qt \ + --enable-pinentry-curses \ + --enable-fallback-curses \ + --with-libiconv-prefix="$srcdir"/uiconv + + make || return 1 + make DESTDIR="$pkgdir" install +} +md5sums="ca492afbbb59cd19f1c875533f18b269 pinentry-0.7.5.tar.gz +5cd7f80085324d08cb976fec674cd98d uiconv-0.3.tar.bz2" |