projects/aports·blob v2.27.1 · refs

36 lines · 981 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 and MAINTAINER are used by newapkbuild when creating new aports for
28# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.
29#PACKAGER="Your Name <[email protected]>"
30#MAINTAINER="$PACKAGER"
31
32# what to clean up after a successful build
33CLEANUP="srcdir pkgdir deps"
34
35# what to cleanup after a failed build
36ERROR_CLEANUP="deps"