aboutsummaryrefslogtreecommitdiffstats
path: root/main/libisoburn/APKBUILD
blob: 70dc76268e4a07229f0319e98d8925acc47356e7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libisoburn
pkgver=1.5.0
pkgrel=0
pkgdesc="Library to enable creation and expansion of ISO-9660 filesystems"
url="https://dev.lovelyhq.com/libburnia/web/wikis/home"
arch="all"
license="GPL-2.0-or-later"
makedepends="libburn-dev libisofs-dev acl-dev zlib-dev
	libedit-dev"
subpackages="$pkgname-dev $pkgname-doc xorriso:_xorriso"
source="http://files.libburnia-project.org/releases/libisoburn-$pkgver.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/bin/xorriso-tcltk
	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/
}

sha512sums="c74a9e2887244c28c82abe70d2603dbcd49b639c370e5b7fea03aabce59ff2b361345cd6ec88fe8152727e8a416d4759b88d91e2b5aec8a697408e00b7dc9e4d  libisoburn-1.5.0.tar.gz"