28 lines
682 B
Bash
28 lines
682 B
Bash
# Template file for 'http-parser'
|
|
pkgname=http-parser
|
|
version=2.8.0
|
|
revision=1
|
|
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"
|
|
checksum=7277c6f99bf6fc272eb5d8fc3dca01e7cc1d4ae609b5d2c5d5e18added98479d
|
|
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"
|
|
}
|
|
}
|