void-packages/srcpkgs/libtaginfo/template

30 lines
807 B
Bash

# Template file for 'libtaginfo'
pkgname=libtaginfo
version=0.2.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="taglib-devel"
short_desc="Library for reading media metadata"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://bitbucket.org/shuerhaaken/libtaginfo"
distfiles="https://bitbucket.org/shuerhaaken/libtaginfo/downloads/${pkgname}-${version}.tar.gz"
checksum=9ca2f67ef5934b90e659436218c7cb0bb6aa573d14acf544493d7e969d14369f
pre_configure() {
autoreconf -fi
}
libtaginfo-devel_package() {
depends="taglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/lib/libtaginfo
vmove usr/share
}
}