void-packages/srcpkgs/id3lib/template
2018-03-31 16:05:15 +00:00

30 lines
792 B
Bash

# Template file for 'id3lib'
pkgname=id3lib
version=3.8.3
revision=4
build_style=gnu-configure
hostmakedepends="libtool automake"
makedepends="zlib-devel"
short_desc="Library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-3"
homepage="http://id3lib.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
pre_configure() {
libtoolize -fc
aclocal
autoconf
automake --add-missing --copy
}
id3lib-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}