# Template file for 'liblangtag'
pkgname=liblangtag
version=0.5.7
revision=1
build_style=gnu-configure
short_desc="Interface library to access tags for identifying languages"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2, MPL"
homepage="http://tagoh.bitbucket.org/liblangtag"
distfiles="https://bitbucket.org/tagoh/${pkgname}/downloads/${pkgname}-${version}.tar.bz2"
makedepends="libxml2-devel"
hostmakedepends="libtool pkg-config"
checksum=f2b20d7b66c37e3be73feb67831195e5db16d0bb7df0d05c2e4bb96c4deb11cf

pre_configure() {
	libtoolize -f
}

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