aboutsummaryrefslogtreecommitdiffstats
path: root/main/libisofs/APKBUILD
blob: 1a07e4f8a30216a2d47cce6158d24a3df02ae5f3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libisofs
pkgver=1.3.4
pkgrel=0
pkgdesc="Library to pack up hard disk files and directories into a ISO 9660 disk image"
url="http://libburnia-project.org/"
arch="all"
license="GPL"
depends=""
makedepends="acl-dev zlib-dev libiconv-dev"
subpackages="$pkgname-dev"
source="http://files.libburnia-project.org/releases/libisofs-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-libacl \
		--enable-xattr \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="dcd2cb0485579b4973e4ce7291fda647  libisofs-1.3.4.tar.gz"
sha256sums="fd1b23cc855b2c62384106dffa5ae9e779ed9bce1702b9687b2b64bb623c19f4  libisofs-1.3.4.tar.gz"
sha512sums="44df0017e29ebc31a0c84eedf107ead2bb287a51a7986a0ccee4bbbbc8ac87d8609905d3a3fe2a5956392cb4dc527ab931900d422434530ed67c8b467d5f30be  libisofs-1.3.4.tar.gz"