void-packages/srcpkgs/sslscan/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

22 lines
642 B
Bash

# Template file for 'sslscan'
pkgname=sslscan
version=1.8.2
revision=5
build_style=gnu-makefile
makedepends="libressl-devel"
short_desc="A Fast SSL scanner"
maintainer="Juan RP <xtraeme@gmail.com>"
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
}