summaryrefslogtreecommitdiffstats
path: root/main/libisofs/APKBUILD
blob: f3b842623d739fe477f80de72e50fd1a56850151 (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.2
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="3dfdaaf964ed7a779bc23de50c5f2175  libisofs-1.3.2.tar.gz"
sha256sums="ecc321e3541e4809beccff32db6fda10cdd4479a1883fb88e668513620fc4377  libisofs-1.3.2.tar.gz"
sha512sums="8ce0e8042798a13d86e8733a239e6e328c4288f51a8eb3f6b68456c28f674621c668e9a9fbcee733dccf65d5fd2482d2738c36b05001e7028b8d6abb8f0d13e2  libisofs-1.3.2.tar.gz"