# Template file for 'libcddb'
pkgname=libcddb
version=1.3.2
revision=6
build_style=gnu-configure
configure_args="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
short_desc="Library to access data on a CDDB server"
homepage="http://libcddb.sourceforge.net/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=68e9b53918b9bea727fb2db78936526671c039dcd7396cb82ecd6854e866048c
long_desc="
 Libcddb is a library that implements the different protocols (CDDBP,
 HTTP, SMTP) to access data on a CDDB server (http://freedb.org). It
 tries to be as cross-platform as possible. The initial library will
 have a C API."

libcddb-devel_package() {
	depends="libcddb>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
	}
}

libcddb_package() {
	pkg_install() {
		vmove usr
	}
}
