Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 27th, 2010  |  syntax: None  |  size: 4.40 KB  |  hits: 70  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 i686
  30. # -march (or -mcpu) builds exclusively for an architecture
  31. # Your other available config - CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
  32. # -mtune optimizes for an architecture, but builds for whole processor family
  33. CFLAGS="-march=native -mtune=native -O2 -pipe"
  34. CXXFLAGS="${CFLAGS}"
  35. LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
  36. #-- Make Flags: change this for DistCC/SMP systems
  37. MAKEFLAGS="-j3"
  38.  
  39. #########################################################################
  40. # BUILD ENVIRONMENT
  41. #########################################################################
  42. #
  43. # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
  44. #  A negated environment option will do the opposite of the comments below.
  45. #
  46. #-- fakeroot: Allow building packages as a non-root user
  47. #-- distcc:   Use the Distributed C/C++/ObjC compiler
  48. #-- color:    Colorize output messages
  49. #-- ccache:   Use ccache to cache compilation
  50. #
  51. BUILDENV=(fakeroot !distcc color !ccache)
  52. #
  53. #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
  54. #-- specify a space-delimited list of hosts running in the DistCC cluster.
  55. #DISTCC_HOSTS=""
  56.  
  57. #########################################################################
  58. # GLOBAL PACKAGE OPTIONS
  59. #   These are default values for the options=() settings
  60. #########################################################################
  61. #
  62. # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
  63. #  A negated option will do the opposite of the comments below.
  64. #
  65. #-- strip:     Strip symbols from binaries/libraries in STRIP_DIRS
  66. #-- docs:      Save doc directories specified by DOC_DIRS
  67. #-- libtool:   Leave libtool (.la) files in packages
  68. #-- emptydirs: Leave empty directories in packages
  69. #-- zipman:    Compress manual (man and info) pages in MAN_DIRS with gzip
  70. #-- purge:     Remove files specified by PURGE_TARGETS
  71. #
  72. OPTIONS=(strip docs libtool emptydirs zipman purge)
  73.  
  74. #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
  75. INTEGRITY_CHECK=(md5)
  76. #-- Manual (man and info) directories to compress (if zipman is specified)
  77. MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
  78. #-- Doc directories to remove (if !docs is specified)
  79. DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
  80. #-- Directories to be searched for the strip option (if strip is specified)
  81. STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
  82. #-- Files to be removed from all packages (if purge is specified)
  83. PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
  84.  
  85. #########################################################################
  86. # PACKAGE OUTPUT
  87. #########################################################################
  88. #
  89. # Default: put built package and cached source in build directory
  90. #
  91. #-- Destination: specify a fixed directory where all packages will be placed
  92. # PKGDEST=/home/catalyst/AUR/yaourtbuild/pkg
  93. #-- Source cache: specify a fixed directory where source files will be cached
  94. # SRCDEST=/home/catalyst/AUR/yaourtbuild/src
  95. #-- Packager: name/email of the person or organization building packages
  96. PACKAGER="Sergey Khodiko <catalyst@xaker.ru>"
  97.  
  98. #########################################################################
  99. # EXTENSION DEFAULTS
  100. #########################################################################
  101. #
  102. # WARNING: Do NOT modify these variables unless you know what you are
  103. #          doing.
  104. #
  105. PKGEXT='.pkg.tar.xz'
  106. SRCEXT='.src.tar.gz'
  107.  
  108. # vim: set ft=sh ts=2 sw=2 et: