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

24 lines
724 B
Bash

# Template file for 'gnome-ssh-askpass'
pkgname=gnome-ssh-askpass
version=6.9p1
revision=1
wrksrc="openssh-${version}"
build_pie=1
hostmakedepends="pkg-config"
makedepends="gtk+-devel"
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"
checksum=6e074df538f357d440be6cf93dc581a21f22d39e236f217fcd8eacbb6c896cfe
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
}