31 lines
821 B
Bash
31 lines
821 B
Bash
# Template file for 'gumbo-parser'
|
|
pkgname=gumbo-parser
|
|
version=0.10.1
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="autoconf automake libtool"
|
|
checkdepends="gtest-devel"
|
|
short_desc="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
|
|
|
|
CFLAGS="-fPIC"
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
gumbo-parser-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|