python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / http-parser / template
blob622fe9cd6a83c0d144719d539a583368245a62b5
1 # Template file for 'http-parser'
2 pkgname=http-parser
3 version=2.8.1
4 revision=1
5 build_style=gnu-makefile
6 short_desc="HTTP request/response parser for c"
7 maintainer="Enno Boland <gottox@voidlinux.eu>"
8 license="MIT"
9 homepage="https://github.com/joyent/http-parser"
10 distfiles="$homepage/archive/v${version}.tar.gz"
11 checksum=51615f68b8d67eadfd2482decc63b3e55d749ce0055502bbb5b0032726d22d96
12 make_build_target=library
14 pre_install() {
15         vmkdir usr/lib/pkgconfig
16         vmkdir usr/include
19 post_install() {
20         vlicense LICENSE-MIT
23 http-parser-devel_package() {
24         depends="$sourcepkg>=${version}_${revision}"
25         short_desc+=" - development files"
26         pkg_install() {
27                 vmove usr/include
28                 vmove usr/lib/pkgconfig
29                 vmove "usr/lib/*.so"
30         }