aboutsummaryrefslogblamecommitdiffstats
path: root/main/libcdio-paranoia/APKBUILD
blob: de4af770d12b3122987723f6d0221211593b4f36 (plain) (tree)














































                                                                                                                                                                                
# Contributor:
# Maintainer:
pkgname=libcdio-paranoia
pkgver=0.90
pkgrel=0
pkgdesc="CD paranoia on top of libcdio"
url="http://www.gnu.org/software/libcdio/"
arch="all"
license="GPLv2+ and LGPLv2+"
depends=""
depends_dev="libcdio-dev"
makedepends="$depends_dev libiconv-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+$pkgver.tar.gz"

_builddir="$srcdir"/libcdio-paranoia-10.2+$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="7175764764c7fa22e1b802b9526c9411  libcdio-paranoia-10.2+0.90.tar.gz"
sha256sums="562d6158b2690cbb98609f7f8b2b4198c22cc4e275aad33f95b8e83c630eb3b4  libcdio-paranoia-10.2+0.90.tar.gz"
sha512sums="d8549d50b08cfd407672d49e43cc82525fb551a3f2ef1c6a4e3ac0c31ad209009249811d5a53172b59d1f858b7b0a3a929ef8e0a75322a27aaebdfb45d6e1531  libcdio-paranoia-10.2+0.90.tar.gz"