summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:26:05 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 20:26:05 -0500
commita99581fabefba43c1ea21fed1e93b149ba30f0e0 (patch)
treeb9528c580d499856633d217725b65d98a5a2cade /user
parent683c378cf25df2bc94a214728fead22391b8c5f6 (diff)
downloadpackages-a99581fabefba43c1ea21fed1e93b149ba30f0e0.tar.gz
packages-a99581fabefba43c1ea21fed1e93b149ba30f0e0.tar.bz2
packages-a99581fabefba43c1ea21fed1e93b149ba30f0e0.tar.xz
packages-a99581fabefba43c1ea21fed1e93b149ba30f0e0.zip
user/libcddb: pull in, modernise, fix up
Diffstat (limited to 'user')
-rw-r--r--user/libcddb/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libcddb/APKBUILD b/user/libcddb/APKBUILD
new file mode 100644
index 000000000..de8b4f6ff
--- /dev/null
+++ b/user/libcddb/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter
+# Maintainer:
+pkgname=libcddb
+pkgver=1.3.2
+pkgrel=4
+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+"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0e07e7d37f2013164d75b530a5528f54847271fd20f3b7bedb192a05d1f61dcf006d10dc2927efe155a01eddcc57b940bc31d8ac88d5dfc4f1a09771caa84e0a libcddb-1.3.2.tar.bz2"