summaryrefslogtreecommitdiffstats
path: root/testing/libisofs/APKBUILD
blob: 26d56302c6346a25b6db34c38375a84c7f9dfb65 (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.0.8
pkgrel=1
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="b404e1deeee000d90efbf8ed60360412  libisofs-1.0.8.tar.gz"