-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.cross
60 lines (54 loc) · 1.16 KB
/
build.cross
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
51
52
53
54
55
56
57
58
59
60
# Copyright (c) 2018-2025, Firas Khalil Khana
# Distributed under the terms of the ISC License
# Voyager: Firas Khalil Khana (firasuke) <[email protected]>
prepare() {
patch -p0 -i "$CERD"/$nom/patches/glaucus/0001-disable-static.patch
}
configure() {
:
}
build() {
BUILD_CC=$HOSTCC \
make \
DESTDIR="$CRSD" \
lib=lib \
prefix=/usr \
exec_prefix=/usr \
lib_prefix=/usr \
inc_prefix=/usr \
man_prefix=/usr/share \
MANDIR=/usr/share/man \
BINDIR=/usr/bin \
INCDIR=/usr/include \
LIBDIR=/usr/lib \
PKGCONFIGDIR=/usr/lib/pkgconfig \
KERNEL_HEADERS="$CRSD"/usr/include \
SYSTEM_HEADERS=/usr/include \
PAM_CAP=no \
DYNAMIC=yes \
GOLANG=no
}
check() {
:
}
package() {
make \
DESTDIR="$CRSD" \
lib=lib \
prefix=/usr \
exec_prefix=/usr \
lib_prefix=/usr \
inc_prefix=/usr \
man_prefix=/usr/share \
MANDIR=/usr/share/man \
BINDIR=/usr/bin \
INCDIR=/usr/include \
LIBDIR=/usr/lib \
PKGCONFIGDIR=/usr/lib/pkgconfig \
KERNEL_HEADERS="$CRSD"/usr/include \
SYSTEM_HEADERS=/usr/include \
PAM_CAP=no \
DYNAMIC=yes \
GOLANG=no \
install
}