summaryrefslogtreecommitdiff
path: root/community/gcc-avr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gcc-avr/PKGBUILD')
-rw-r--r--community/gcc-avr/PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/gcc-avr/PKGBUILD b/community/gcc-avr/PKGBUILD
index d06f52aac..78e1c30c6 100644
--- a/community/gcc-avr/PKGBUILD
+++ b/community/gcc-avr/PKGBUILD
@@ -1,30 +1,27 @@
+# $Id: PKGBUILD 43891 2011-03-30 19:48:35Z bfanella $
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: danst0 <danst0@west.de>
pkgname=gcc-avr
-pkgver=4.5.2
-pkgrel=1
+pkgver=4.6.0
+pkgrel=3
pkgdesc="The GNU avr Compiler Collection"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'custom')
url="http://gcc.gnu.org/"
-depends=('binutils-avr>=2.21' 'cloog-ppl' 'gcc-libs>=4.5.2' 'libmpc' 'elfutils')
+depends=('binutils-avr>=2.21' 'cloog' 'ppl' 'gcc-libs>=4.6.0' 'libmpc')
options=('!ccache' '!distcc' '!emptydirs' '!libtool' '!strip')
-source=(http://ftp.gnu.org/gnu/gcc/${pkgname/-avr}-${pkgver}/gcc-{core,g++}-${pkgver}.tar.bz2
- 'add-more-mcus.patch')
-md5sums=('aa9e36bec080452372bfba793428ee82'
- '9821f1c61e43755866861485ff364e90'
- 'b2c3418c571f7c9b794dcf44eb186548')
+source=(http://ftp.gnu.org/gnu/gcc/${pkgname/-avr}-${pkgver}/gcc-{core,g++}-${pkgver}.tar.bz2)
+md5sums=('b1957f3209080b2f55bc3756d3a62b7c'
+ 'a30090fa655d0db4c970740d353c81f1')
+
build() {
export CFLAGS="-O2 -pipe"
export CXXFLAGS="-O2 -pipe"
cd "${srcdir}/${pkgname/-avr}-${pkgver}"
- # http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01210.html
- patch -p0 -i ${srcdir}/add-more-mcus.patch
-
mkdir build
cd build
../configure --disable-libssp \
@@ -50,6 +47,9 @@ package() {
cd build
make -j1 DESTDIR=${pkgdir} install
+ install -Dm644 "${srcdir}/${pkgname/-avr}-${pkgver}/COPYING.RUNTIME" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/RUNTIME.LIBRARY.EXCEPTION"
+
rm -f ${pkgdir}/usr/lib/libiberty.a
rm -rf ${pkgdir}/usr/share/man/man7
rm -rf ${pkgdir}/usr/share/info