void-packages/srcpkgs/liblangtag/template
2015-05-11 22:29:51 +02:00

28 lines
775 B
Bash

# Template file for 'liblangtag'
pkgname=liblangtag
version=0.5.6
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=5cdec61f4ef8d4b1a198682fcdd17e88cb293549af5878d6ee4bdd55d129bd84
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"
}
}