summaryrefslogtreecommitdiffstats
path: root/main/libisofs/APKBUILD
blob: 83da57f65d0ac0469c79255e910d78b313bcbfe9 (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.2.6
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 --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="e3b0eebd7523f64020178aaba5d71c88  libisofs-1.2.6.tar.gz"