abuild.conf 917 Bytes
Newer Older
1
export CFLAGS="-Os -fomit-frame-pointer"
Natanael Copa's avatar
Natanael Copa committed
2
export CXXFLAGS="$CFLAGS"
3
export CPPFLAGS="$CFLAGS"
4
export LDFLAGS="-Wl,--as-needed"
Natanael Copa's avatar
Natanael Copa committed
5

6 7
export JOBS=2
export MAKEFLAGS=-j$JOBS
Linux User's avatar
Linux User committed
8 9 10

# remove line below to disable colors
USE_COLORS=1
11

Joseph Benden's avatar
Joseph Benden committed
12 13 14
# uncomment line below to enable ccache support.
#USE_CCACHE=1

15
SRCDEST=/var/cache/distfiles
16 17

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

22 23
# PACKAGER and MAINTAINER are used by newapkbuild when creating new aports for
# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.
Natanael Copa's avatar
Natanael Copa committed
24
#PACKAGER="Your Name <your@email.address>"
25
#MAINTAINER="$PACKAGER"
Natanael Copa's avatar
Natanael Copa committed
26

27
# what to clean up after a successful build
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
28
CLEANUP="srcdir bldroot pkgdir deps"
29 30

# what to cleanup after a failed build
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
31
ERROR_CLEANUP="bldroot deps"