void-packages/srcpkgs/gumbo-parser/template
2015-11-17 23:56:56 +01:00

26 lines
733 B
Bash

# Template file for 'gumbo-parser'
pkgname=gumbo-parser
version=0.10.1
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake libtool"
short_desc="An HTML5 parsing library in pure C99"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="Apache-2.0"
homepage="https://github.com/google/gumbo-parser"
distfiles="https://github.com/google/gumbo-parser/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
gumbo-parser-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}