3a060da864
fixes: - CVE-2004-2779.patch - CVE-2008-2109.patch - CVE-2017-11550.patch - CVE-2017-11551.patch regenerate gperf values switch to non-ftp mirror because ftp mirrors suck on Travis and sometimes on our builders
33 lines
903 B
Bash
33 lines
903 B
Bash
# Template file for 'libid3tag'
|
|
pkgname=libid3tag
|
|
version=0.15.1b
|
|
revision=8
|
|
patch_args="-Np1"
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config gperf"
|
|
makedepends="zlib-devel"
|
|
short_desc="ID3 tag library, part of MAD (MPEG Audio Decoder)"
|
|
license="GPL-2.0-or-later"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://sourceforge.net/projects/mad/"
|
|
distfiles="http://distfiles.exherbo.org/distfiles/libid3tag-${version}.tar.gz"
|
|
checksum=63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151
|
|
|
|
pre_configure() {
|
|
rm compat.c frametype.c # regenerate them with gperf
|
|
}
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/id3tag.pc 644 usr/lib/pkgconfig
|
|
}
|
|
|
|
libid3tag-devel_package() {
|
|
depends="zlib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|