blob: 964f1438275303f79c644fefb495d15a9ea12e60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor:
# Maintainer: Fathi Boudra <fathi.boudra@linaro.org>
pkgname=supermin
pkgver=5.1.20
pkgrel=0
pkgdesc="tool for building supermin appliances"
url="http://libguestfs.org/"
arch="x86_64"
license="GPL2"
depends="cpio e2fsprogs"
makedepends="\
bash \
cpio \
e2fsprogs \
e2fsprogs-dev \
gawk \
ocaml \
ocaml-findlib \
perl \
"
install=""
subpackages="$pkgname-doc"
source="http://download.libguestfs.org/supermin/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check" # Disable tests as they fail under Alpine
build() {
cd "$builddir"
./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
}
# Disable tests as they fail under Alpine
#check() {
# cd "$builddir"
# make check
#}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ccc9ada98593f91399b323f0beb027185874f82547a1df4274c1206a9b6d4465e98b7aef5618274d41fb902747f6843fd2cc6192a4ea8526811261ac5a16848e supermin-5.1.20.tar.gz"
|