aboutsummaryrefslogtreecommitdiffstats
path: root/main/cdrkit/APKBUILD
blob: c6a2ae6e896739773eb1afb687f941bb3cc10d73 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cdrkit
pkgver=1.1.11
pkgrel=0
pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction"
url="http://cdrkit.org/"
arch="x86 x86_64"
license="GPL2"
depends="file bzip2"
makedepends="cmake libcap-dev bzip2-dev zlib-dev !libiconv"
source="http://$pkgname.org/releases/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/cdrkit-$pkgver"
	make || return 1
}

package() {
	cd "$srcdir/cdrkit-$pkgver"
	make PREFIX="$pkgdir/usr" install || return 1
	cd "$pkgdir/usr/bin"
	ln -s wodim cdrecord || return 1
	ln -s readom readcd || return 1
	ln -s genisoimage mkisofs || return 1
	ln -s genisoimage mkhybrid || return 1
	ln -s icedax cdda2wav || return 1
	cd "$pkgdir/usr/share/man/man1"
	ln -s wodim.1 cdrecord.1 || return 1
	ln -s readom.1 readcd.1 || return 1
	ln -s genisoimage.1 mkisofs.1 || return 1
	ln -s genisoimage.1 mkhybrid.1 || return 1
	ln -s icedax.1 cdda2wav.1 || return 1
}
md5sums="efe08e2f3ca478486037b053acd512e9  cdrkit-1.1.11.tar.gz"