mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
43 lines
970 B
Plaintext
43 lines
970 B
Plaintext
# Contributor:
|
|
# Maintainer: Fathi Boudra <fathi.boudra@linaro.org>
|
|
pkgname=supermin
|
|
pkgver=5.1.20
|
|
pkgrel=1
|
|
pkgdesc="tool for building supermin appliances"
|
|
url="http://libguestfs.org/"
|
|
arch="x86_64"
|
|
license="GPL-2.0-or-later"
|
|
depends="cpio e2fsprogs"
|
|
makedepends="
|
|
bash
|
|
e2fsprogs-dev
|
|
gawk
|
|
ocaml
|
|
ocaml-findlib
|
|
perl
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="http://download.libguestfs.org/supermin/$pkgname-$pkgver.tar.gz"
|
|
options="!check" # Disable tests as they fail under Alpine
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--disable-network-tests
|
|
# https://bugs.alpinelinux.org/issues/10030
|
|
# -no-pie is required to produce a statically linked init binary
|
|
make -C init LDFLAGS="-no-pie"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="ccc9ada98593f91399b323f0beb027185874f82547a1df4274c1206a9b6d4465e98b7aef5618274d41fb902747f6843fd2cc6192a4ea8526811261ac5a16848e supermin-5.1.20.tar.gz"
|