mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-02 08:35:06 -04:00
42a6acf739
DOC_DIRS variable for documentation removal repackage option structure cleanup some option removal (--keepdocs, --nostrip) output fixes (msg and msg2) * Jürgen Hötzel <juergen@hoetzel.info> user-specific makepkg.conf (~/.makepkg.conf)
74 lines
2.6 KiB
Bash
74 lines
2.6 KiB
Bash
# vim: set ft=sh ts=2 sw=2 et:
|
|
# /etc/makepkg.conf
|
|
#
|
|
|
|
#########################################################################
|
|
# SOURCE ACQUISITION
|
|
#########################################################################
|
|
#
|
|
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
|
|
FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
|
|
#FTPAGENT="/usr/bin/snarf"
|
|
#FTPAGENT="/usr/bin/lftpget -c"
|
|
|
|
#########################################################################
|
|
# ARCHITECTURE, COMPILE FLAGS
|
|
#########################################################################
|
|
#
|
|
CARCH="@CARCH@"
|
|
CHOST="@CHOST@"
|
|
|
|
#-- Exclusive: will only run on @CARCHFLAGS@
|
|
CFLAGS="-@MARCHFLAG@=@CARCHFLAGS@ -O2 -pipe"
|
|
CXXFLAGS="-@MARCHFLAG@=@CARCHFLAGS@ -O2 -pipe"
|
|
#-- Optimized: will run on any x86, but optimized for i686
|
|
#CFLAGS="-mcpu=i686 -O2 -pipe"
|
|
#CXXFLAGS="-mcpu=i686 -O2 -pipe"
|
|
#-- Make Flags: change this for DistCC/SMP systems
|
|
#MAKEFLAGS="-j2"
|
|
|
|
#########################################################################
|
|
# BUILD ENVIRONMENT
|
|
#########################################################################
|
|
#
|
|
#-- Fakeroot: for building packages as a non-root user
|
|
USE_FAKEROOT="y"
|
|
#-- DistCC: a distributed C/C++/ObjC compiler (modify MAKEFLAGS too)
|
|
USE_DISTCC="n"
|
|
#-- A space-delimited list of hosts running in the DistCC cluster
|
|
DISTCC_HOSTS=""
|
|
#-- Colorized output messages
|
|
USE_COLOR="y"
|
|
#-- Use ccache when building
|
|
USE_CCACHE=0
|
|
|
|
#########################################################################
|
|
# GLOBAL PACKAGE OPTIONS
|
|
# These are default values for the options=() settings
|
|
#########################################################################
|
|
#
|
|
#-- Don't strip symbols from binaries/libraries
|
|
NOSTRIP=0
|
|
#-- Keep doc and info directories
|
|
KEEPDOCS=0
|
|
#-- Don't remove libtool files?
|
|
NOLIBTOOL=0
|
|
#-- Don't remove empty directories from package?
|
|
NOEMPTYDIRS=0
|
|
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
|
|
INTEGRITY_CHECK=(md5)
|
|
+#-- Info and doc directories to be removed
|
|
DOC_DIRS=(usr/{,share/}{info,doc} opt/gnome/{,share/}{info,doc,gtk-doc})
|
|
|
|
|
|
#########################################################################
|
|
# PACKAGE OUTPUT
|
|
#########################################################################
|
|
#
|
|
#-- Destination: specify a fixed directory where all packages will be placed
|
|
#PKGDEST=/home/packages
|
|
#-- Source cache: specify a fixed directory where source files will be cached
|
|
#SRCDEST=/home/source
|
|
#-- Packager: name/email of the person or organization building packages
|
|
#PACKAGER="John Doe <john@doe.com>"
|