# Template file for 'libid3tag'
pkgname=libid3tag
version=0.15.1b
revision=2
distfiles="ftp://ftp.mars.org/pub/mpeg/$pkgname-$version.tar.gz"
build_style=gnu-configure
short_desc="ID3 tag library, part of MAD (MPEG Audio Decoder)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151
long_desc="
 libid3tag is a library for reading and (eventually) writing ID3
 tags, both ID3v1 and the various versions of ID3v2."

subpackages="$pkgname-devel"
Add_dependency build pkg-config
Add_dependency build zlib-devel

post_install()
{
	install -D -m644 ${FILESDIR}/id3tag.pc \
		${DESTDIR}/usr/lib/pkgconfig/id3tag.pc || return 1
}