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'
|
2011-03-16 22:56:14 -04:00
|
|
|
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
|
|
|
|
'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
|
|
|
'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
2008-02-10 11:56:47 -05:00
|
|
|
'rsync::/usr/bin/rsync -z %u %o'
|
|
|
|
'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
|
|
|
|
# /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
|
|
|
|
2009-08-08 12:23:21 -04:00
|
|
|
#-- Exclusive: will only run on @CARCH@
|
2007-07-30 23:11:32 -04:00
|
|
|
# -march (or -mcpu) builds exclusively for an architecture
|
|
|
|
# -mtune optimizes for an architecture, but builds for whole processor family
|
2007-08-20 00:38:37 -04:00
|
|
|
CFLAGS="@CARCHFLAGS@-mtune=generic -O2 -pipe"
|
|
|
|
CXXFLAGS="@CARCHFLAGS@-mtune=generic -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"
|
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=""
|
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
|
|
|
#########################################################################
|
|
|
|
#
|
2009-01-03 05:19:12 -05:00
|
|
|
# Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
|
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
|
|
|
#
|
2010-09-29 07:22:30 -04:00
|
|
|
#-- strip: Strip symbols from binaries/libraries
|
2009-01-03 05:19:12 -05:00
|
|
|
#-- docs: Save doc directories specified by DOC_DIRS
|
2007-02-13 14:02:35 -05:00
|
|
|
#-- libtool: Leave libtool (.la) files in packages
|
|
|
|
#-- emptydirs: Leave empty directories in packages
|
2009-01-03 05:19:12 -05:00
|
|
|
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
|
|
|
|
#-- purge: Remove files specified by PURGE_TARGETS
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2009-01-03 05:19:12 -05:00
|
|
|
OPTIONS=(strip docs libtool emptydirs zipman purge)
|
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
|
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
|
|
|
|
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:
|