aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcddb
diff options
context:
space:
mode:
Diffstat (limited to 'community/libcddb')
-rw-r--r--community/libcddb/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libcddb/APKBUILD b/community/libcddb/APKBUILD
new file mode 100644
index 0000000000..c8872b8c06
--- /dev/null
+++ b/community/libcddb/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Carlo Landmeter
+# Maintainer:
+pkgname=libcddb
+pkgver=1.3.2
+pkgrel=3
+pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
+url="https://sourceforge.net/projects/libcddb/"
+arch="all"
+options="!check" # Tests are known broken since 2009:
+# https://sourceforge.net/p/libcddb/bugs/7/
+license="LGPL-2.0-or-later"
+subpackages="$pkgname-dev"
+source="https://downloads.sourceforge.net/libcddb/libcddb-$pkgver.tar.bz2"
+
+prepare() {
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0e07e7d37f2013164d75b530a5528f54847271fd20f3b7bedb192a05d1f61dcf006d10dc2927efe155a01eddcc57b940bc31d8ac88d5dfc4f1a09771caa84e0a libcddb-1.3.2.tar.bz2"