summaryrefslogblamecommitdiff
path: root/user/libcddb/APKBUILD
blob: 8569efffe1ee237b382230a25bf5769688c1dc88 (plain) (tree)
1
2
3
4
5
6
                                                     


               
        
                                                 







                                                      


                                                                           

           
                       
                         


         










                                         


                                      

                                                                                                                                                                   
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=libcddb
pkgver=1.3.2
pkgrel=5
pkgdesc="Library to access data on a CDDB server"
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
	connect-ppc64.patch
	"

prepare() {
	default_prepare
	update_config_sub
}

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
70f6644c7b4f40d556d81b87bcdf7a07b96f48dd741a25c6918c44bc38edd2598cc46f50a23d7c77ea8d98c9193c7ef589c277801a7ac098e9845b0a7f086993  connect-ppc64.patch"