diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-17 15:39:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-17 15:40:28 +0000 |
commit | 2236ea18a664784a5033cdfda5c29a69dbef3b53 (patch) | |
tree | 1df0efd773f785ebb790845d4ed845a3d03d56ec /testing/libisoburn/APKBUILD | |
parent | 08227d7df2db65e546722c316d79abf1a6fff02f (diff) | |
download | aports-2236ea18a664784a5033cdfda5c29a69dbef3b53.tar.bz2 aports-2236ea18a664784a5033cdfda5c29a69dbef3b53.tar.xz |
testing/libisoburn: new aport
Library to enable creation and expansion of ISO-9660 filesystems
http://libburnia-project.org/
Diffstat (limited to 'testing/libisoburn/APKBUILD')
-rw-r--r-- | testing/libisoburn/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/libisoburn/APKBUILD b/testing/libisoburn/APKBUILD new file mode 100644 index 000000000..bf5e569c7 --- /dev/null +++ b/testing/libisoburn/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libisoburn +pkgver=1.4.2 +pkgrel=0 +pkgdesc="Library to enable creation and expansion of ISO-9660 filesystems" +url="http://libburnia-project.org/" +arch="all" +license="GPLv2+" +depends="" +depends_dev="" +makedepends="$depends_dev libburn-dev libisofs-dev acl-dev zlib-dev + libedit-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc xorriso:_xorriso" +source="http://files.libburnia-project.org/releases/libisoburn-$pkgver.tar.gz" + +builddir="$srcdir"/libisoburn-$pkgver +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/bin/xorriso-tcltk || return 1 + ln -s xorriso "$pkgdir"/usr/bin/mkisofs +} + +_xorriso() { + pkgdesc="ISO-9660 and Rock Ridge image manipulation tool" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +md5sums="6cfed3152b3273b3717e2ef06cf9b25d libisoburn-1.4.2.tar.gz" +sha256sums="2dfac7312fd136db5c5e1a9738e3a0896bddea2f89621bd071f3b8045aef54d6 libisoburn-1.4.2.tar.gz" +sha512sums="aaf9d8eee70cbdf2a64315fe68d03c097f26f24f0d21394b7dc1ff1370eed2d21edf54273f2897371b05c9f8772821ae7ba5ea51f52ea43b39538ef64afff555 libisoburn-1.4.2.tar.gz" |