void-packages/srcpkgs/sslscan/template

23 lines
645 B
Bash
Raw Normal View History

2014-06-28 09:19:40 +00:00
# Template file for 'sslscan'
pkgname=sslscan
version=1.8.2
2015-08-06 11:11:40 +00:00
revision=7
2014-06-28 09:19:40 +00:00
build_style=gnu-makefile
makedepends="libressl-devel"
2014-06-28 09:19:40 +00:00
short_desc="A Fast SSL scanner"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-06-28 09:19:40 +00:00
license="GPL-2"
homepage="http://sourceforge.net/projects/sslscan/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tgz"
checksum=3b728804456042d96d5c8ccd42326f8e5719d091986793bb7b852a36b50d2b3e
pre_build() {
sed -i 's/-lssl/-lssl -lcrypto/g' Makefile
sed -i "s/gcc -g/$CC $CFLAGS/g" Makefile
}
do_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
make BINPATH=${DESTDIR}/usr/bin/ MANPATH=${DESTDIR}/usr/share/man/ install
}