summaryrefslogtreecommitdiffstats
path: root/main/libcdio/APKBUILD
blob: dc7fbaa0d24e9d4044c4ca3caa747693bd5c41c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Carlo Landmeter
# Maintainer: 
pkgname=libcdio
pkgver=0.82
pkgrel=0
pkgdesc="GNU Compact Disc Input and Control Library"
url="http://www.gnu.org/software/libcdio/"
license="GPL3"
depends=
makedepends="libcddb-dev ncurses-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
}

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

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install
}

md5sums="1c29b18e01ab2b966162bc727bf3c360  libcdio-0.82.tar.gz"