aboutsummaryrefslogtreecommitdiffstats
path: root/main/libisoburn/APKBUILD
blob: 4a3c0d23ce5113d54e71c694bd011f824109e72b (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
43
44
45
46
47
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libisoburn
pkgver=1.4.6
pkgrel=0
pkgdesc="Library to enable creation and expansion of ISO-9660 filesystems"
url="http://libburnia-project.org/"
arch="all"
license="GPLv2+"
depends=""
depends_dev=""
makedepends="$depends_dev libburn-dev libisofs-dev acl-dev zlib-dev
	libedit-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc xorriso:_xorriso"
source="http://files.libburnia-project.org/releases/libisoburn-$pkgver.tar.gz"

builddir="$srcdir"/libisoburn-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/bin/xorriso-tcltk || return 1
	ln -s xorriso "$pkgdir"/usr/bin/mkisofs
}

_xorriso() {
	pkgdesc="ISO-9660 and Rock Ridge image manipulation tool"
	replaces="cdrkit"
	mkdir -p "$subpkgdir"/usr
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}

md5sums="15d763fd698b9bc8d6fc643a3257505b  libisoburn-1.4.6.tar.gz"
sha256sums="69efe9490e9ed6dbb1d8cad387ccaf5dcc5bb39dd466eef208a6b77a48584def  libisoburn-1.4.6.tar.gz"
sha512sums="329d3234e8ae31abcab8d8a61a6531ab7ccdd8340148f84a6c77a23bbe16b303bf1dc95cafc751bf13f83e855f158b59ddd9e93c3dd1fe6046c1b5ea27eefb69  libisoburn-1.4.6.tar.gz"