2017-07-01 11:32:11 +00:00
|
|
|
# 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}"
|
2017-07-01 11:46:27 +00:00
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i -e'/^CC /d' \
|
|
|
|
-e 's/^CCFLAGS .*/CCFLAGS=$(CFLAGS) $(LDFLAGS)/' Makefile
|
|
|
|
}
|
2017-07-01 11:32:11 +00:00
|
|
|
|
|
|
|
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}
|
2017-07-01 11:46:27 +00:00
|
|
|
ln -s ../../share/doc/${pkgname}/perl-tools \
|
2017-07-01 11:32:11 +00:00
|
|
|
${PKGDESTDIR}/usr/lib/${pkgname}/perl-tools
|
|
|
|
}
|