[arch-commits] Commit in avr-gcc/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Jul 27 21:32:47 UTC 2015


    Date: Monday, July 27, 2015 @ 23:32:47
  Author: anatolik
Revision: 137526

upgpkg: avr-gcc 5.2.0-1

Modified:
  avr-gcc/trunk/PKGBUILD

----------+
 PKGBUILD |   48 +++++++++++++++++++++++-------------------------
 1 file changed, 23 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-27 21:27:00 UTC (rev 137525)
+++ PKGBUILD	2015-07-27 21:32:47 UTC (rev 137526)
@@ -7,26 +7,23 @@
 # Build order: avr-binutils -> avr-gcc -> avr-libc
 
 pkgname=avr-gcc
-_pkgname=gcc
-pkgver=4.9.2
-_islver=0.12.2
-_cloogver=0.18.1
-pkgrel=2
-_snapshot=4.9-20141224
-pkgdesc="The GNU AVR Compiler Collection"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL' 'custom')
-url="http://gcc.gnu.org/"
-depends=('avr-binutils>=2.25' 'gcc-libs' 'libmpc')
+pkgver=5.2.0
+pkgrel=1
+#_snapshot=5-20150519
+_islver=0.14.1
+pkgdesc='The GNU AVR Compiler Collection'
+arch=(i686 x86_64)
+license=(GPL LGPL FDL custom)
+url='http://gcc.gnu.org/'
+depends=(avr-binutils gcc-libs libmpc)
 optdepends=('avr-libc: Standard C library for Atmel AVR development')
-options=('!emptydirs' '!strip')
-source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
-        ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
+options=(!emptydirs !strip)
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
+        #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
         http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
-        http://www.bastoul.net/cloog/pages/download/cloog-${_cloogver}.tar.gz)
-sha1sums=('dcf37616b36b6f60d3a56a3a1f83754e43e59fae'
-          'ca98a91e35fb3ded10d080342065919764d6f928'
-          '2dc70313e8e2c6610b856d627bce9c9c3f848077')
+       )
+sha1sums=('fe3f5390949d47054b613edc36c557eb1d51c18e'
+          'b653327b20e807d1df3a7e2f546ea924f1e030c0')
 
 if [ -n "${_snapshot}" ]; then
   _basedir=gcc-${_snapshot}
@@ -37,9 +34,8 @@
 build() {
     cd ${srcdir}/${_basedir} 
 
-    # Link isl/cloog for in-tree builds
+    # link isl for in-tree build
     ln -s ../isl-${_islver} isl
-    ln -s ../cloog-${_cloogver} cloog
 
     # https://bugs.archlinux.org/task/34629
     # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
@@ -65,7 +61,6 @@
                 --enable-__cxa_atexit \
                 --enable-checking=release \
                 --enable-clocale=gnu \
-                --enable-cloog-backend=isl \
                 --enable-gnu-unique-object \
                 --enable-gold \
                 --enable-languages=c,c++ \
@@ -84,7 +79,9 @@
                 --with-gnu-ld \
                 --with-ld=/usr/bin/avr-ld \
                 --with-plugin-ld=ld.gold \
-                --with-system-zlib
+                --with-system-zlib \
+                --with-isl \
+                --enable-gnu-indirect-function
 
     make
 }
@@ -100,8 +97,9 @@
 
     # Install Runtime Library Exception
     install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
-        ${pkgdir}/usr/share/licenses/${pkgname}/RUNTIME.LIBRARY.EXCEPTION
+        ${pkgdir}/usr/share/licenses/avr-gcc/RUNTIME.LIBRARY.EXCEPTION
 
-    rm -rf ${pkgdir}/usr/share/man/man7
-    rm -rf ${pkgdir}/usr/share/info
+    rm -r ${pkgdir}/usr/share/man/man7
+    rm -r ${pkgdir}/usr/share/info
+    rm ${pkgdir}/usr/lib/libcc1.*
 }



More information about the arch-commits mailing list