2015-05-12 09:42:43 +02:00
|
|
|
# Template file for 'http-parser'
|
|
|
|
pkgname=http-parser
|
2016-02-11 22:53:34 +01:00
|
|
|
version=2.6.1
|
2015-10-30 06:08:02 +01:00
|
|
|
revision=1
|
2015-05-12 09:42:43 +02:00
|
|
|
build_style=gnu-makefile
|
|
|
|
short_desc="HTTP request/response parser for c"
|
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://github.com/joyent/http-parser"
|
|
|
|
distfiles="$homepage/archive/v${version}.tar.gz"
|
2016-02-11 22:53:34 +01:00
|
|
|
checksum=48ce852009121e9959c28408017902423ed0b5125de923cd0fdde77fce862aad
|
2015-05-12 09:42:43 +02:00
|
|
|
make_build_target=library
|
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
vmkdir usr/lib/pkgconfig
|
|
|
|
vmkdir usr/include
|
|
|
|
}
|
|
|
|
|
|
|
|
http-parser-devel_package() {
|
|
|
|
depends="$sourcepkg>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|