Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 106 lines (95 sloc) 4.034 kB
4eafa41 @svenstaro Initial commit
authored
1 #
2 # /etc/makepkg.conf
3 #
4
5 #########################################################################
6 # SOURCE ACQUISITION
7 #########################################################################
8 #
9 #-- The download utilities that makepkg should use to acquire sources
10 # Format: 'protocol::agent'
11 DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
12 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
13 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
14 'rsync::/usr/bin/rsync -z %u %o'
15 'scp::/usr/bin/scp -C %u %o')
16
17 # Other common tools:
18 # /usr/bin/snarf
19 # /usr/bin/lftpget -c
20 # /usr/bin/curl
21
22 #########################################################################
23 # ARCHITECTURE, COMPILE FLAGS
24 #########################################################################
25 #
26 CARCH="i686"
27 CHOST="i686-pc-linux-gnu"
28
29 #-- Exclusive: will only run on -march=x86-64
30 # -march (or -mcpu) builds exclusively for an architecture
31 # -mtune optimizes for an architecture, but builds for whole processor family
32 CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
33 CXXFLAGS="${CFLAGS}"
34 #-- Make Flags: change this for DistCC/SMP systems
35 MAKEFLAGS="-j5"
36
37 #########################################################################
38 # BUILD ENVIRONMENT
39 #########################################################################
40 #
41 # Defaults: BUILDENV=(fakeroot !distcc color !ccache !xdelta)
42 # A negated environment option will do the opposite of the comments below.
43 #
44 #-- fakeroot: Allow building packages as a non-root user
45 #-- distcc: Use the Distributed C/C++/ObjC compiler
46 #-- color: Colorize output messages
47 #-- ccache: Use ccache to cache compilation
48 #-- xdelta: Generate delta patch from previous to current package
49 #
50 BUILDENV=(fakeroot !distcc color !ccache !xdelta)
51 #
52 #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
53 #-- specify a space-delimited list of hosts running in the DistCC cluster.
54 #DISTCC_HOSTS=""
55
56 #########################################################################
57 # GLOBAL PACKAGE OPTIONS
58 # These are default values for the options=() settings
59 #########################################################################
60 #
61 # Default: OPTIONS=(strip docs libtool emptydirs zipman)
62 # A negated option will do the opposite of the comments below.
63 #
64 #-- strip: Strip symbols from binaries/libraries
65 #-- docs: Save doc and info directories
66 #-- libtool: Leave libtool (.la) files in packages
67 #-- emptydirs: Leave empty directories in packages
68 #-- zipman: Compress manpages with gzip
69 #
70 OPTIONS=(strip docs libtool emptydirs zipman)
71
72 #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
73 INTEGRITY_CHECK=(md5)
74 #-- Info and doc directories to remove (if option set correctly above)
75 DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/*/{info,doc,gtk-doc})
76 #-- Directories to be searched for the strip option (if option set correctly above)
77 STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
78
79 #########################################################################
80 # PACKAGE OUTPUT
81 #########################################################################
82 #
83 # Default: put built package and cached source in build directory
84 #
85 #-- Destination: specify a fixed directory where all packages will be placed
86 #PKGDEST=/home/packages
87 #-- Source cache: specify a fixed directory where source files will be cached
88 #SRCDEST=/home/sources
89 #-- Packager: name/email of the person or organization building packages
90 #PACKAGER="John Doe <john@doe.com>"
91
92 #########################################################################
93 # BUILDSCRIPT/EXTENSION DEFAULTS
94 #########################################################################
95 #
96 # WARNING: Do NOT modify these variables unless you know what you are
97 # doing.
98 #
99 BUILDSCRIPT='PKGBUILD'
100 PKGEXT='.pkg.tar.xz'
101 SRCEXT='.src.tar.gz'
102 DB_COMPRESSION='gz'
103 DB_CHECKSUMS=(md5)
104
105 # vim: set ft=sh ts=2 sw=2 et:
Something went wrong with that request. Please try again.