aboutsummaryrefslogtreecommitdiffstats
path: root/main/libisofs/APKBUILD
blob: 7ba3c398fb2085b225ec4f1ca55dcc5fe7f018a8 (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.0
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="5ab9f4a57d3c815d1183cbf49ce86a9e  libisofs-1.3.0.tar.gz"
sha256sums="6a4b84b9faf3c017725ee8edf4461a0dc325d25a272f884244dea94b19191f91  libisofs-1.3.0.tar.gz"
sha512sums="1033038cf4a88bc701562a6b386a50925189f2780c6abfdbac78635f3855db18b6de6bbc6e5744a804c5bb84814175dc079e64572db713bec4939c6767b7597e  libisofs-1.3.0.tar.gz"