32 lines
725 B
Bash
32 lines
725 B
Bash
# Template file for 'http-parser'
|
|
pkgname=http-parser
|
|
version=2.9.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_target=library
|
|
short_desc="HTTP request/response parser for c"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/joyent/http-parser"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=5199500e352584852c95c13423edc5f0cb329297c81dd69c3c8f52a75496da08
|
|
|
|
pre_install() {
|
|
vmkdir usr/lib/pkgconfig
|
|
vmkdir usr/include
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|