summaryrefslogtreecommitdiffstats
path: root/testing/libisofs/APKBUILD
blob: eb8b0f1de5da878f6f999af0d23cb5f47bc1ed56 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libisofs
pkgver=1.1.6
pkgrel=0
pkgdesc="Library to pack up hard disk files and directories into a ISO 9660 disk image"
url="http://libburnia.pykix.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 --prefix=/usr \
		--enable-libacl \
		--enable-xattr \
		--disable-static
	make || return 1
}

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

md5sums="2f6088ba9ae7ed6cc91a51d2b6f2dfa0  libisofs-1.1.6.tar.gz"