2007-02-04 13:28:21 -05:00
|
|
|
#
|
2007-05-31 12:13:25 -04:00
|
|
|
# @sysconfdir@/makepkg.conf
|
2006-10-15 18:07:10 -04:00
|
|
|
#
|
|
|
|
|
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'
|
2012-07-02 10:57:01 -04:00
|
|
|
DLAGENTS=('ftp::/usr/bin/curl -qfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
|
|
|
|
'http::/usr/bin/curl -qb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
|
|
|
'https::/usr/bin/curl -qb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
2011-11-15 10:20:07 -05:00
|
|
|
'rsync::/usr/bin/rsync --no-motd -z %u %o'
|
2008-02-10 11:56:47 -05:00
|
|
|
'scp::/usr/bin/scp -C %u %o')
|
2007-04-04 22:30:05 -04:00
|
|
|
|
|
|
|
# Other common tools:
|
|
|
|
# /usr/bin/snarf
|
|
|
|
# /usr/bin/lftpget -c
|
2011-07-17 11:27:45 -04:00
|
|
|
# /usr/bin/wget
|
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
|
|
|
|
2011-08-10 23:14:41 -04:00
|
|
|
#-- Compiler and Linker Flags
|
2011-12-22 05:19:18 -05:00
|
|
|
#CPPFLAGS=""
|
2011-08-10 23:14:41 -04:00
|
|
|
#CFLAGS="-O2 -pipe"
|
|
|
|
#CXXFLAGS="-O2 -pipe"
|
2009-01-01 12:32:05 -05:00
|
|
|
#LDFLAGS=""
|
2006-11-14 02:58:42 -05:00
|
|
|
#-- Make Flags: change this for DistCC/SMP systems
|
|
|
|
#MAKEFLAGS="-j2"
|
2012-09-23 03:06:34 -04:00
|
|
|
#-- Debugging flags
|
|
|
|
#DEBUG_CFLAGS="-g"
|
|
|
|
#DEBUG_CXXFLAGS="-g"
|
2006-10-15 18:07:10 -04:00
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
#########################################################################
|
|
|
|
# BUILD ENVIRONMENT
|
|
|
|
#########################################################################
|
|
|
|
#
|
2008-06-02 04:27:00 -04:00
|
|
|
# Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
|
2007-05-14 00:51:32 -04:00
|
|
|
# A negated environment option will do the opposite of the comments below.
|
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
|
2010-12-15 09:06:43 -05:00
|
|
|
#-- check: Run the check() function if present in the PKGBUILD
|
2008-06-02 04:27:00 -04:00
|
|
|
#-- sign: Generate PGP signature file
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2008-06-02 04:27:00 -04:00
|
|
|
BUILDENV=(fakeroot !distcc color !ccache check !sign)
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
|
|
|
#-- 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=""
|
2011-06-15 00:32:42 -04:00
|
|
|
#
|
|
|
|
#-- Specify a directory for package building.
|
|
|
|
#BUILDDIR=/tmp/makepkg
|
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
|
|
|
#########################################################################
|
|
|
|
#
|
2012-09-23 03:06:34 -04:00
|
|
|
# Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx !debug)
|
2007-05-14 00:51:32 -04:00
|
|
|
# A negated option will do the opposite of the comments below.
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2013-03-04 20:03:43 -05:00
|
|
|
#-- strip: Strip symbols from binaries/libraries
|
|
|
|
#-- docs: Save doc directories specified by DOC_DIRS
|
|
|
|
#-- libtool: Leave libtool (.la) files in packages
|
|
|
|
#-- staticlibs: Leave static library (.a) files in packages
|
|
|
|
#-- emptydirs: Leave empty directories in packages
|
|
|
|
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
|
|
|
|
#-- purge: Remove files specified by PURGE_TARGETS
|
|
|
|
#-- upx: Compress binary executable files using UPX
|
|
|
|
#-- debug: Add debugging flags as specified in DEBUG_* variables
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2013-03-04 20:03:43 -05:00
|
|
|
OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug)
|
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)
|
2009-12-21 14:26:28 -05:00
|
|
|
#-- Options to be used when stripping binaries. See `man strip' for details.
|
|
|
|
STRIP_BINARIES="@STRIP_BINARIES@"
|
|
|
|
#-- Options to be used when stripping shared libraries. See `man strip' for details.
|
|
|
|
STRIP_SHARED="@STRIP_SHARED@"
|
|
|
|
#-- Options to be used when stripping static libraries. See `man strip' for details.
|
|
|
|
STRIP_STATIC="@STRIP_STATIC@"
|
2009-01-03 05:19:12 -05:00
|
|
|
#-- Manual (man and info) directories to compress (if zipman is specified)
|
2008-11-23 06:17:15 -05:00
|
|
|
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
|
2009-01-03 05:19:12 -05:00
|
|
|
#-- Doc directories to remove (if !docs is specified)
|
2009-05-03 03:21:02 -04:00
|
|
|
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
|
2009-01-03 05:19:12 -05:00
|
|
|
#-- Files to be removed from all packages (if purge is specified)
|
2008-12-07 06:14:32 -05:00
|
|
|
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
|
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
|
2010-01-19 13:05:06 -05:00
|
|
|
#-- Source packages: specify a fixed directory where all src packages will be placed
|
|
|
|
#SRCPKGDEST=/home/srcpackages
|
2012-11-29 02:08:55 -05:00
|
|
|
#-- Log files: specify a fixed directory where all log files will be placed
|
|
|
|
#LOGDEST=/home/makepkglogs
|
2006-11-14 02:58:42 -05:00
|
|
|
#-- Packager: name/email of the person or organization building packages
|
|
|
|
#PACKAGER="John Doe <john@doe.com>"
|
2011-04-17 08:38:35 -04:00
|
|
|
#-- Specify a key to use for package signing
|
|
|
|
#GPGKEY=""
|
2007-02-04 13:28:21 -05:00
|
|
|
|
2012-02-11 04:48:59 -05:00
|
|
|
#########################################################################
|
|
|
|
# COMPRESSION DEFAULTS
|
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
COMPRESSGZ=(gzip -c -f -n)
|
|
|
|
COMPRESSBZ2=(bzip2 -c -f)
|
|
|
|
COMPRESSXZ=(xz -c -z -)
|
|
|
|
COMPRESSZ=(compress -c -f)
|
|
|
|
|
|
|
|
|
2007-04-01 19:55:01 -04:00
|
|
|
#########################################################################
|
2008-12-27 01:35:06 -05:00
|
|
|
# EXTENSION DEFAULTS
|
2007-04-01 19:55:01 -04:00
|
|
|
#########################################################################
|
|
|
|
#
|
|
|
|
# WARNING: Do NOT modify these variables unless you know what you are
|
|
|
|
# doing.
|
|
|
|
#
|
2007-05-29 17:46:20 -04:00
|
|
|
PKGEXT='@PKGEXT@'
|
2007-05-31 12:21:37 -04:00
|
|
|
SRCEXT='@SRCEXT@'
|
2007-04-01 19:55:01 -04:00
|
|
|
|
2007-02-04 13:28:21 -05:00
|
|
|
# vim: set ft=sh ts=2 sw=2 et:
|