diff options
Diffstat (limited to 'main/libisoburn')
-rw-r--r-- | main/libisoburn/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/libisoburn/APKBUILD b/main/libisoburn/APKBUILD new file mode 100644 index 0000000000..ba43593ef8 --- /dev/null +++ b/main/libisoburn/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libisoburn +pkgver=1.4.4 +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="3e1d789a0066d8deb27b672bac23e508 libisoburn-1.4.4.tar.gz" +sha256sums="7b02a1930382d7ebb4ed9e32917aebd4967c2255fdb3549a95ace5c6276fc2d6 libisoburn-1.4.4.tar.gz" +sha512sums="63cbb9afb02fdbe32c47e8cab6fe38082580d00296bdd2b7d9514fe42338e913d837dc56513048c37874a29bb279dad9bb84d39b00a29d85eaf29aad88f5e81b libisoburn-1.4.4.tar.gz" |