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'
|
2008-02-10 11:56:47 -05:00
|
|
|
DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
|
|
|
|
'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
|
|
|
|
'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
|
|
|
|
'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
|
|
|
|
2006-11-16 17:43:58 -05:00
|
|
|
#-- Exclusive: will only run on @CARCHFLAGS@
|
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"
|
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-06-01 10:28:52 -04:00
|
|
|
# Defaults: BUILDENV=(fakeroot !distcc color !ccache !xdelta)
|
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
|
2007-06-01 10:28:52 -04:00
|
|
|
#-- xdelta: Generate delta patch from previous to current package
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2007-05-30 06:48:18 -04:00
|
|
|
BUILDENV=(fakeroot !distcc color !ccache !xdelta)
|
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
|
|
|
#########################################################################
|
|
|
|
#
|
2008-08-23 19:51:56 -04:00
|
|
|
# Default: OPTIONS=(strip !docs libtool emptydirs zipman)
|
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
|
|
|
#
|
|
|
|
#-- 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
|
2008-03-12 19:25:38 -04:00
|
|
|
#-- zipman: Compress manpages with gzip
|
2007-02-04 13:28:21 -05:00
|
|
|
#
|
2008-08-23 19:51:56 -04:00
|
|
|
OPTIONS=(strip !docs libtool emptydirs zipman)
|
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)
|
2008-08-23 19:51:56 -04:00
|
|
|
#-- Doc directories to remove (if option set correctly above)
|
2008-08-12 13:00:18 -04:00
|
|
|
DOC_DIRS=(usr/{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
|
2008-07-20 01:57:03 -04:00
|
|
|
#-- Directories to be searched for the strip option (if option set correctly above)
|
|
|
|
STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
|
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.
|
|
|
|
#
|
2007-05-29 17:46:20 -04:00
|
|
|
BUILDSCRIPT='PKGBUILD'
|
|
|
|
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:
|