2002-02-25 19:23:38 +00:00
|
|
|
#
|
2002-08-09 18:03:48 +00:00
|
|
|
# /etc/makepkg.conf
|
2002-02-25 19:23:38 +00:00
|
|
|
#
|
|
|
|
|
2006-02-02 23:39:53 +00:00
|
|
|
#########################################################################
|
|
|
|
# SOURCE ACQUISITION
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
|
|
|
|
export FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
|
2003-03-17 19:36:48 +00:00
|
|
|
#export FTPAGENT="/usr/bin/snarf"
|
|
|
|
#export FTPAGENT="/usr/bin/lftpget -c"
|
|
|
|
|
2006-02-02 23:39:53 +00:00
|
|
|
#########################################################################
|
|
|
|
# ARCHITECTURE, COMPILE FLAGS
|
|
|
|
#########################################################################
|
|
|
|
#
|
2003-11-25 02:02:36 +00:00
|
|
|
export CARCH="i686"
|
|
|
|
export CHOST="i686-pc-linux-gnu"
|
2006-02-02 23:39:53 +00:00
|
|
|
#-- Exclusive: will only run on i686 or higher (P6, Athlon)
|
2005-08-19 22:41:20 +00:00
|
|
|
export CFLAGS="-march=i686 -O2 -pipe"
|
|
|
|
export CXXFLAGS="-march=i686 -O2 -pipe"
|
2006-02-02 23:39:53 +00:00
|
|
|
#-- Optimized: will run on any x86, but optimized for i686
|
|
|
|
#export CFLAGS="-mcpu=i686 -O2 -pipe"
|
|
|
|
#export CXXFLAGS="-mcpu=i686 -O2 -pipe"
|
|
|
|
#-- Make Flags: change this for DistCC/SMP systems
|
|
|
|
#export MAKEFLAGS="-j2"
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# BUILD ENVIRONMENT
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
#-- Fakeroot: for building packages as a non-root user
|
2003-09-03 02:09:29 +00:00
|
|
|
export USE_FAKEROOT="y"
|
2006-02-02 23:39:53 +00:00
|
|
|
#-- DistCC: a distributed C/C++/ObjC compiler (modify MAKEFLAGS too)
|
|
|
|
export DISTCC="n"
|
|
|
|
#-- A space-delimited list of hosts running in the DistCC cluster
|
|
|
|
export DISTCC_HOSTS=""
|
|
|
|
#-- Colorized output messages
|
2005-06-10 21:31:25 +00:00
|
|
|
export USE_COLOR="y"
|
2003-12-21 01:34:32 +00:00
|
|
|
|
2006-02-02 23:39:53 +00: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
|
2004-04-29 19:43:18 +00:00
|
|
|
#export PKGDEST=/home/packages
|
2006-02-02 23:39:53 +00:00
|
|
|
#-- Packager: name/email of the person or organization building packages
|
2003-02-27 08:26:02 +00:00
|
|
|
#export PACKAGER="John Doe <john@doe.com>"
|
2003-03-17 19:36:48 +00:00
|
|
|
|