void-packages/srcpkgs/id3lib/template
Đoàn Trần Công Danh 80154e0fb1 id3lib: patch for c99 bool
id3/globals.h has a typedef for bool which is incompatible with c99
stdbool which is available transitively via stdlib.h

Also C99 bool and C++ bool is incompatible with original id3lib's bool
2022-09-15 22:59:31 +07:00

30 lines
794 B
Bash

# Template file for 'id3lib'
pkgname=id3lib
version=3.8.3
revision=7
build_style=gnu-configure
hostmakedepends="libtool automake"
makedepends="zlib-devel"
short_desc="Library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-or-later"
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"
}
}