void-packages/srcpkgs/libid3tag/template

37 lines
927 B
Plaintext
Raw Normal View History

# Template file for 'libid3tag'
pkgname=libid3tag
version=0.15.1b
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel"
short_desc="ID3 tag library, part of MAD (MPEG Audio Decoder)"
2013-03-30 12:00:48 +01:00
homepage="http://sourceforge.net/projects/mad/"
license="GPL-2+"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="ftp://ftp.mars.org/pub/mpeg/$pkgname-$version.tar.gz"
checksum=63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151
long_desc="
libid3tag is a library for reading and (eventually) writing ID3
tags, both ID3v1 and the various versions of ID3v2."
post_install() {
vinstall ${FILESDIR}/id3tag.pc 644 usr/lib/pkgconfig
}
libid3tag-devel_package() {
depends="zlib-devel libid3tag>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
libid3tag_package() {
pkg_install() {
vmove usr
}
}