mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-14 02:44:24 +02:00
55 lines
1.1 KiB
Text
55 lines
1.1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libisoburn
|
|
pkgver=1.5.6
|
|
pkgrel=0
|
|
pkgdesc="Library to enable creation and expansion of ISO-9660 filesystems"
|
|
url="https://dev.lovelyhq.com/libburnia/libisoburn"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
acl-dev
|
|
libburn-dev
|
|
libedit-dev
|
|
libisofs-dev
|
|
zlib-dev
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc xorriso:_xorriso"
|
|
source="https://files.libburnia-project.org/releases/libisoburn-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -flto=auto" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
rm "$pkgdir"/usr/bin/xorriso-tcltk
|
|
ln -s xorriso "$pkgdir"/usr/bin/mkisofs
|
|
}
|
|
|
|
_xorriso() {
|
|
pkgdesc="ISO-9660 and Rock Ridge image manipulation tool"
|
|
replaces="cdrkit"
|
|
amove usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
0fc0058aa4cf755f30d5be0de808012978c657348412c7f129b8f8128da41f18216f3e039050a5851b557ffab344cf7dc44df374400ca008e34e2e2524fbd979 libisoburn-1.5.6.tar.gz
|
|
"
|