linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
gen.sh
(591B)
1 git eca7ad6
2
3 cflags "
4 -std=c99
5 -I$pkgdir/b3sum/include
6 -Wno-maybe-uninitialized
7 -Wno-sign-compare
8 "
9
10 dep b3sum/headers
11
12 libcommon_srcs="
13 fatal.c
14 parse.c
15 reallocarray.c
16 "
17
18 fspec_hash_srcs="
19 fspec-hash.c
20 $libdir/libcommon.a
21 "
22
23 fspec_tar_srcs="
24 fspec-tar.c
25 $libdir/libcommon.a
26 "
27
28 lib libcommon.a $libcommon_srcs
29 bin fspec-hash $fspec_hash_srcs $pkgdir/b3sum/libblake3.a
30 bin fspec-tar $fspec_tar_srcs
31
32 host() {
33 cflags -I $pkgdir/b3sum/include
34 dep b3sum/headers
35
36 lib libcommon.a $libcommon_srcs
37 exe fspec-hash $fspec_hash_srcs $hostdir/libblake3.a
38 exe fspec-tar $fspec_tar_srcs
39 }