void-packages/srcpkgs/gnome-ssh-askpass/template

24 lines
724 B
Bash
Raw Normal View History

2015-01-14 14:06:46 +01:00
# Template file for 'gnome-ssh-askpass'
pkgname=gnome-ssh-askpass
2015-03-18 13:19:59 +01:00
version=6.8p1
revision=2
2015-01-14 14:06:46 +01:00
wrksrc="openssh-${version}"
2015-03-18 13:19:59 +01:00
build_pie=1
hostmakedepends="pkg-config"
makedepends="gtk+-devel"
2015-01-14 14:06:46 +01:00
short_desc="GTK SSH passphrase grabber (from OpenSSH)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.openssh.org"
distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz"
2015-03-18 13:19:59 +01:00
checksum=3ff64ce73ee124480b5bf767b9830d7d3c03bbcb6abe716b78f0192c37ce160e
2015-01-14 14:06:46 +01:00
do_build() {
cd contrib
${CC} ${CFLAGS} $(pkg-config --cflags gtk+-2.0) gnome-ssh-askpass2.c -o gnome-ssh-askpass $(pkg-config --libs gtk+-2.0) ${LDFLAGS} -lX11
}
do_install() {
vbin contrib/gnome-ssh-askpass
}