abuild.conf 867 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
CHOST=i486-alpine-linux-musl
2 3

# for x86_64 we want:
Natanael Copa's avatar
Natanael Copa committed
4
# CHOST=x86_64-alpine-linux-musl
5 6

# for powerpc we want:
Natanael Copa's avatar
Natanael Copa committed
7
# CHOST=powerpc-alpine-linux-musl
8 9

export CFLAGS="-Os -fomit-frame-pointer"
Natanael Copa's avatar
Natanael Copa committed
10
export CXXFLAGS="$CFLAGS"
11
export CPPFLAGS="$CFLAGS"
12
export LDFLAGS="-Wl,--as-needed"
Natanael Copa's avatar
Natanael Copa committed
13

14 15
export JOBS=2
export MAKEFLAGS=-j$JOBS
Linux User's avatar
Linux User committed
16 17 18

# remove line below to disable colors
USE_COLORS=1
19

20
SRCDEST=/var/cache/distfiles
21 22

# uncomment line below to store built packages in other location
Natanael Copa's avatar
Natanael Copa committed
23 24
# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
# where $repo is the name of the parent directory of $startdir.
25
REPODEST=$HOME/packages/
Natanael Copa's avatar
Natanael Copa committed
26

27
# PACKAGER is used to create new aports with 'newapkbuild ...'
Natanael Copa's avatar
Natanael Copa committed
28 29
#PACKAGER="Your Name <your@email.address>"

30 31 32 33 34
# what to clean up after a successful build
CLEANUP="srcdir pkgdir deps"

# what to cleanup after a failed build
ERROR_CLEANUP="deps"