void-packages/srcpkgs/tre/template
2017-10-20 12:57:12 +02:00

27 lines
698 B
Bash

# Template file for 'tre'
pkgname=tre
version=0.8.0
revision=3
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
post_install() {
vlicense LICENSE
}
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
}
}