projects/aports·blob v2.21.0 · refs

34 lines · 867 B

1CHOST=i486-alpine-linux-musl
2
3# for x86_64 we want:
4# CHOST=x86_64-alpine-linux-musl
5
6# for powerpc we want:
7# CHOST=powerpc-alpine-linux-musl
8
9export CFLAGS="-Os -fomit-frame-pointer"
10export CXXFLAGS="$CFLAGS"
11export CPPFLAGS="$CFLAGS"
12export LDFLAGS="-Wl,--as-needed"
13
14export JOBS=2
15export MAKEFLAGS=-j$JOBS
16
17# remove line below to disable colors
18USE_COLORS=1
19
20SRCDEST=/var/cache/distfiles
21
22# uncomment line below to store built packages in other location
23# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
24# where $repo is the name of the parent directory of $startdir.
25REPODEST=$HOME/packages/
26
27# PACKAGER is used to create new aports with 'newapkbuild ...'
28#PACKAGER="Your Name <[email protected]>"
29
30# what to clean up after a successful build
31CLEANUP="srcdir pkgdir deps"
32
33# what to cleanup after a failed build
34ERROR_CLEANUP="deps"