void-packages/srcpkgs/http-parser/template
2019-04-11 05:45:29 -03:00

31 lines
725 B
Bash

# Template file for 'http-parser'
pkgname=http-parser
version=2.9.1
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=33220771208bcacecd970b6de03bebe239374a8e9cf3baeda79b4f3920bede21
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"
}
}