2007-02-04 13:28:21 -05:00
|
|
|
#
|
2006-10-15 18:07:10 -04:00
|
|
|
# /etc/makepkg.conf
|
|
|
|
#
|
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
# SOURCE ACQUISITION
|
|
|
|
#########################################################################
|
|
|
|
#
|
2007-04-04 22:30:05 -04:00
|
|
|
#-- The download utilities that makepkg should use to acquire sources
|
|
|
|
# Format: 'protocol::agent'
|
|
|
|
DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3'
|
|
|
|
'http::/usr/bin/wget -c -t 3 --waitretry=3'
|
|
|
|
'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate'
|
|
|
|
'rsync::/usr/bin/rsync -z'
|
|
|
|
'scp::/usr/bin/scp -C')
|
|
|
|
|
|
|
|
# Other common tools:
|
|
|
|
# /usr/bin/snarf
|
|
|
|
# /usr/bin/lftpget -c
|
|
|
|
# /usr/bin/curl
|
2006-10-15 18:07:10 -04:00
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
# ARCHITECTURE, COMPILE FLAGS
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
CARCH="@CARCH@"
|
|
|
|
CHOST="@CHOST@"
|
2006-10-15 18:07:10 -04:00
|
|
|
|
2006-11-16 17:43:58 -05:00
|
|
|
#-- Exclusive: will only run on @CARCHFLAGS@
|
2007-02-12 20:25:26 -05:00
|
|
|
# -mtune builds exclusively for an architecture
|
|
|
|
# -mcpu optimizes for an architecture, but builds for the whole processor family
|
|
|
|
CFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -O2 -pipe"
|
|
|
|
CXXFLAGS="-@ARCHSWITCH@=@CARCHFLAGS@ -O2 -pipe"
|
2006-11-14 02:58:42 -05:00
|
|
|
#-- Make Flags: change this for DistCC/SMP systems
|
|
|
|
#MAKEFLAGS="-j2"
|
2006-10-15 18:07:10 -04:00
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
# BUILD ENVIRONMENT
|
|
|
|
#########################################################################
|
|
|
|
#
|
2007-02-04 13:31:39 -05:00
|
|
|
# Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
|
|
|
#-- fakeroot: Allow building packages as a non-root user
|
|
|
|
#-- distcc: Use the Distributed C/C++/ObjC compiler
|
|
|
|
#-- color: Colorize output messages
|
|
|
|
#-- ccache: Use ccache to cache compilation
|
|
|
|
#
|
|
|
|
BUILDENV=(fakeroot !distcc color !ccache)
|
|
|
|
#
|
|
|
|
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
|
|
|
|
#-- specify a space-delimited list of hosts running in the DistCC cluster.
|
|
|
|
#DISTCC_HOSTS=""
|
2006-10-15 18:07:10 -04:00
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
# GLOBAL PACKAGE OPTIONS
|
2006-11-16 17:43:58 -05:00
|
|
|
# These are default values for the options=() settings
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
#
|
2007-02-04 13:28:21 -05:00
|
|
|
# Default: OPTIONS=(strip !docs !libtool emptydirs)
|
|
|
|
#
|
|
|
|
#-- strip: Strip symbols from binaries/libraries
|
|
|
|
#-- docs: Save doc and info directories
|
2007-02-13 14:02:35 -05:00
|
|
|
#-- libtool: Leave libtool (.la) files in packages
|
|
|
|
#-- emptydirs: Leave empty directories in packages
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2007-02-06 17:36:13 -05:00
|
|
|
OPTIONS=(strip !docs libtool emptydirs)
|
2007-02-04 13:28:21 -05:00
|
|
|
|
2006-12-14 00:23:08 -05:00
|
|
|
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
|
2007-03-06 01:42:09 -05:00
|
|
|
INTEGRITY_CHECK=(md5)
|
2007-02-04 13:28:21 -05:00
|
|
|
#-- Info and doc directories to remove (if option set correctly above)
|
2007-03-14 20:07:27 -04:00
|
|
|
DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})
|
2006-11-16 17:43:58 -05:00
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
# PACKAGE OUTPUT
|
|
|
|
#########################################################################
|
|
|
|
#
|
2007-03-08 01:55:22 -05:00
|
|
|
# Default: put built package and cached source in build directory
|
|
|
|
#
|
2006-11-14 02:58:42 -05:00
|
|
|
#-- Destination: specify a fixed directory where all packages will be placed
|
|
|
|
#PKGDEST=/home/packages
|
2006-12-14 00:23:08 -05:00
|
|
|
#-- Source cache: specify a fixed directory where source files will be cached
|
2007-03-08 01:55:22 -05:00
|
|
|
#SRCDEST=/home/sources
|
2006-11-14 02:58:42 -05:00
|
|
|
#-- Packager: name/email of the person or organization building packages
|
|
|
|
#PACKAGER="John Doe <john@doe.com>"
|
2007-02-04 13:28:21 -05:00
|
|
|
|
2007-04-01 19:55:01 -04:00
|
|
|
#########################################################################
|
|
|
|
# BUILDSCRIPT/EXTENSION DEFAULTS
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
# WARNING: Do NOT modify these variables unless you know what you are
|
|
|
|
# doing.
|
|
|
|
#
|
|
|
|
BUILDSCRIPT="PKGBUILD"
|
|
|
|
PKGEXT=".pkg.tar.gz"
|
|
|
|
DB_COMPRESSION="gz"
|
|
|
|
DB_CHECKSUMS=(md5)
|
|
|
|
|
2007-02-04 13:28:21 -05:00
|
|
|
# vim: set ft=sh ts=2 sw=2 et:
|