summaryrefslogtreecommitdiff
path: root/community/avr-gcc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
committerroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
commit14635ca5380a480450a66c3fcc29992d29a2bd8e (patch)
treea2f8e712c9e15b829397666c06d1cdd1a877d8a6 /community/avr-gcc
parent01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (diff)
Thu Mar 15 00:01:19 UTC 2012
Diffstat (limited to 'community/avr-gcc')
-rw-r--r--community/avr-gcc/PKGBUILD75
1 files changed, 37 insertions, 38 deletions
diff --git a/community/avr-gcc/PKGBUILD b/community/avr-gcc/PKGBUILD
index ced9b0eb5..eff6d6b91 100644
--- a/community/avr-gcc/PKGBUILD
+++ b/community/avr-gcc/PKGBUILD
@@ -1,61 +1,60 @@
-# $Id: PKGBUILD 63817 2012-02-05 16:15:02Z bpiotrowski $
-# Maintainer: Brad Fanella <bradfanella@archlinux.us>
+# $Id: PKGBUILD 67673 2012-03-13 17:43:08Z schuay $
+# Maintainer: schuay <jakob.gruber@gmail.com>
+# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: danst0 <danst0@west.de>
pkgname=avr-gcc
-pkgver=4.6.2
+pkgver=4.6.3
pkgrel=1
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.6.0' 'libmpc')
+depends=('binutils-avr>=2.22' 'cloog' 'ppl' 'gcc-libs>=4.6.0' 'libmpc')
provides=("gcc-avr=$pkgver")
replaces=('gcc-avr')
options=('!ccache' '!distcc' '!emptydirs' '!libtool' '!strip')
source=(http://ftp.gnu.org/gnu/gcc/${pkgname/avr-}-${pkgver}/gcc-{core,g++}-${pkgver}.tar.bz2)
-md5sums=('0c0e7e35d2215e19de9c97efba507553'
- '0d75ca7ca35b1e7f252223f9d23a6ad1')
build() {
- export CFLAGS="-O2 -pipe"
- export CXXFLAGS="-O2 -pipe"
-
- cd "${srcdir}/${pkgname/avr-}-${pkgver}"
-
- mkdir build
- cd build
- ../configure --disable-libssp \
- --disable-nls \
- --enable-languages=c,c++ \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --mandir=/usr/share/man \
- --prefix=/usr \
- --target=avr \
- --with-gnu-as \
- --with-gnu-ld \
- --with-as=/usr/bin/avr-as \
- --with-ld=/usr/bin/avr-ld
-
- make
+ export CFLAGS="-O2 -pipe"
+ export CXXFLAGS="-O2 -pipe"
+
+ cd "${srcdir}/${pkgname/avr-}-${pkgver}"
+
+ mkdir build
+ cd build
+ ../configure --disable-libssp \
+ --disable-nls \
+ --enable-languages=c,c++ \
+ --infodir=/usr/share/info \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib \
+ --mandir=/usr/share/man \
+ --prefix=/usr \
+ --target=avr \
+ --with-gnu-as \
+ --with-gnu-ld \
+ --with-as=/usr/bin/avr-as \
+ --with-ld=/usr/bin/avr-ld
+
+ make
}
package() {
- cd "${srcdir}/${pkgname/avr-}-${pkgver}"
+ cd "${srcdir}/${pkgname/avr-}-${pkgver}"
- cd build
- make -j1 DESTDIR=${pkgdir} install
+ cd build
+ make -j1 DESTDIR=${pkgdir} install
- install -Dm644 "${srcdir}/${pkgname/avr-}-${pkgver}/COPYING.RUNTIME" \
- "${pkgdir}/usr/share/licenses/${pkgname}/RUNTIME.LIBRARY.EXCEPTION"
+ 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
+ rm -f ${pkgdir}/usr/lib/libiberty.a
+ rm -rf ${pkgdir}/usr/share/man/man7
+ rm -rf ${pkgdir}/usr/share/info
}
-md5sums=('780f614ab18c7a9066dec6387d7490b2'
- '87ecd60431e41096419dd8a10f76e46b')
+md5sums=('766091220c6a14fcaa2c06dd573e3758'
+ '37515158a0fb3d0800ec41a08c05e69e')