2005-03-14 20:51:43 -05:00
|
|
|
#
|
|
|
|
# /etc/makepkg.conf
|
|
|
|
#
|
|
|
|
|
2006-01-21 21:17:39 -05:00
|
|
|
#########################################################################
|
|
|
|
# SOURCE ACQUISITION
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
|
2005-10-28 13:47:00 -04:00
|
|
|
export FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
|
2005-03-14 20:51:43 -05:00
|
|
|
#export FTPAGENT="/usr/bin/snarf"
|
|
|
|
#export FTPAGENT="/usr/bin/lftpget -c"
|
|
|
|
|
2006-01-21 21:17:39 -05:00
|
|
|
#########################################################################
|
|
|
|
# ARCHITECTURE, COMPILE FLAGS
|
|
|
|
#########################################################################
|
|
|
|
#
|
2005-03-14 20:51:43 -05:00
|
|
|
export CARCH="i686"
|
|
|
|
export CHOST="i686-pc-linux-gnu"
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- Exclusive: will only run on i686 or higher (P6, Athlon)
|
2005-12-13 21:40:01 -05:00
|
|
|
export CFLAGS="-march=i686 -O2 -pipe"
|
|
|
|
export CXXFLAGS="-march=i686 -O2 -pipe"
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- Optimized: will run on any x86, but optimized for i686
|
2005-03-14 20:51:43 -05:00
|
|
|
#export CFLAGS="-mcpu=i686 -O2 -pipe"
|
|
|
|
#export CXXFLAGS="-mcpu=i686 -O2 -pipe"
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- Make Flags: change this for DistCC/SMP systems
|
2005-12-13 21:40:01 -05:00
|
|
|
#export MAKEFLAGS="-j2"
|
2005-03-14 20:51:43 -05:00
|
|
|
|
2006-01-21 21:17:39 -05:00
|
|
|
#########################################################################
|
|
|
|
# BUILD ENVIRONMENT
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
#-- Fakeroot: for building packages as a non-root user
|
2005-03-14 20:51:43 -05:00
|
|
|
export USE_FAKEROOT="y"
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- DistCC: a distributed C/C++/ObjC compiler (modify MAKEFLAGS too)
|
2005-12-13 21:40:01 -05:00
|
|
|
export DISTCC="n"
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- A space-delimited list of hosts running in the DistCC cluster
|
2005-12-13 21:40:01 -05:00
|
|
|
export DISTCC_HOSTS=""
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- Colorized output messages
|
2005-12-13 21:40:01 -05:00
|
|
|
export USE_COLOR="y"
|
2005-03-14 20:51:43 -05:00
|
|
|
|
2006-01-21 21:17:39 -05:00
|
|
|
#########################################################################
|
|
|
|
# GLOBAL PACKAGE OPTIONS
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
#-- Don't strip symbols from binaries/libraries
|
|
|
|
#export NOSTRIP="1"
|
|
|
|
#-- Keep doc and info directories
|
|
|
|
#export KEEPDOCS="1"
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# PACKAGE OUTPUT
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
#-- Destination: specify a fixed directory where all packages will be placed
|
2005-03-14 20:51:43 -05:00
|
|
|
#export PKGDEST=/home/packages
|
2006-01-21 21:17:39 -05:00
|
|
|
#-- Packager: name/email of the person or organization building packages
|
2005-03-14 20:51:43 -05:00
|
|
|
#export PACKAGER="John Doe <john@doe.com>"
|
|
|
|
|