aboutsummaryrefslogtreecommitdiffstats
path: root/community/cdrdao/APKBUILD
blob: e86b4bc8287e2587d5165bd6e91177544ea45a61 (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
39
40
41
42
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=cdrdao
pkgver=1.2.4
pkgrel=0
pkgdesc="record audio/data CD-Rs in disk-at-once mode"
url="http://cdrdao.sourceforge.net/index.html"
arch="all"
license="GPL-2.0-only"
makedepends="lame libmad libvorbis libao linux-headers"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/cdrdao/cdrdao-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_guess
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-xdao \
		--with-lame \
		--with-ogg-support \
		--with-mp3-support
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="41f20275ca44ec9003d0e3ed280cc98012353005cda6f544ebfa44f3f79f991845c0ef17af74db9456f1bacc342a7fd48c9e942d757927a4a9ff91808f7bbb09  cdrdao-1.2.4.tar.bz2"