diff options
Diffstat (limited to 'main/libisofs/APKBUILD')
-rw-r--r-- | main/libisofs/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/libisofs/APKBUILD b/main/libisofs/APKBUILD new file mode 100644 index 000000000..428b113b7 --- /dev/null +++ b/main/libisofs/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libisofs +pkgver=1.2.4 +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="0a86f2cda3b86fc95f7c0efbd793f373 libisofs-1.2.4.tar.gz" |