# Template file for 'tre'
pkgname=tre
version=0.8.0
revision=2
build_style=gnu-configure
configure_args="--enable-static --without-alloca"
short_desc="The free and portable approximate regex matching library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Simplified BSD"
homepage="http://laurikari.net/tre/"
distfiles="http://laurikari.net/tre/tre-${version}.tar.bz2"
checksum=8dc642c2cde02b2dac6802cdbe2cda201daf79c4ebcbb3ea133915edf1636658

tre-devel_package() {
	short_desc+=" - development files"
	depends="tre>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
