New package: httpry.

Closes: #6914 [via git-merge-pr]
This commit is contained in:
Florian Wagner 2017-07-01 13:32:11 +02:00 committed by Michael Gehring
parent 705d14a077
commit a3ae8479d5

26
srcpkgs/httpry/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'httpry'
pkgname=httpry
version=0.1.8
revision=1
build_style=gnu-makefile
makedepends="libpcap-devel"
short_desc="HTTP logging and information retrieval tool"
maintainer="Florian Wagner <florian@wagner-flo.net>"
homepage="http://dumpsterventures.com/jason/httpry/"
license="GPL-2"
distfiles="https://github.com/jbittel/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=b3bcbec3fc6b72342022e940de184729d9cdecb30aa754a2c994073447468cf0
wrksrc="${pkgname}-${pkgname}-${version}"
nopie=yes
do_install() {
vmkdir usr/share/doc/${pkgname}
vmkdir usr/lib/${pkgname}
vbin httpry
vman httpry.1
vcopy "doc/*" usr/share/doc/${pkgname}
vcopy "scripts/plugins" usr/lib/${pkgname}
vcopy "scripts/parse_log.pl" usr/lib/${pkgname}
ln -s ../share/doc/${pkgname}/perl-tools \
${PKGDESTDIR}/usr/lib/${pkgname}/perl-tools
}