summaryrefslogtreecommitdiff
path: root/community/mingw32-gcc-base
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-04 23:14:30 +0000
committerroot <root@rshg054.dnsready.net>2011-10-04 23:14:30 +0000
commit3567a49f79d2dbf828b723ab54982fa6c7ea1c80 (patch)
tree15fc309d3681df4da7a56189050fd5aa16fa9794 /community/mingw32-gcc-base
parent57d05f7209f022aa99a8850aafbeec4cb85c3b5b (diff)
Tue Oct 4 23:14:30 UTC 2011
Diffstat (limited to 'community/mingw32-gcc-base')
-rw-r--r--community/mingw32-gcc-base/PKGBUILD40
1 files changed, 21 insertions, 19 deletions
diff --git a/community/mingw32-gcc-base/PKGBUILD b/community/mingw32-gcc-base/PKGBUILD
index 43ef4c491..4cfca514e 100644
--- a/community/mingw32-gcc-base/PKGBUILD
+++ b/community/mingw32-gcc-base/PKGBUILD
@@ -1,40 +1,43 @@
-# $Id: PKGBUILD 23584 2010-08-13 11:57:37Z spupykin $
+# $Id: PKGBUILD 56196 2011-10-03 10:57:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Ondrej Jirman <megous@megous.com>
pkgname=mingw32-gcc-base
-pkgver=4.5.0
-_w32apiver=3.14
-_runtimever=3.18
-pkgrel=3
+pkgver=4.6.1
+_w32apiver=3.17
+_runtimever=3.20
+_uprel=2
+_upw32rel=1
+pkgrel=1
arch=(i686 x86_64)
pkgdesc="A C cross-compiler for building Windows executables on Linux"
depends=(mingw32-binutils)
makedepends=(p7zip mingw32-runtime mingw32-w32api)
conflicts=(mingw32-gcc)
-options=(!strip force)
+options=(!strip)
license=(GPL LGPL)
url="http://mingw.sf.net"
-source=(gcc-$pkgver-1-mingw32-src.tar.xz::http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/GCC/Version4/gcc-$pkgver-1/gcc-$pkgver-1-mingw32-src.tar.lzma
- http://switch.dl.sf.net/sourceforge/mingw/w32api-${_w32apiver}-mingw32-src.tar.gz
- http://switch.dl.sf.net/sourceforge/mingw/mingwrt-${_runtimever}-mingw32-src.tar.gz)
-md5sums=('f279430018dc379b8184c0a18b280298'
- 'c31baedaf2a8d38874e056a112a4fbc8'
- '34b54cb3379f871f0dcd5c20b69b0350')
+source=(gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma::http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/GCC/Version4/gcc-$pkgver-${_uprel}/gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma
+ http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-${_w32apiver}/w32api-${_w32apiver}-${_upw32rel}-mingw32-src.tar.lzma
+ http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/MinGW-RT/mingwrt-${_runtimever}/mingwrt-${_runtimever}-mingw32-src.tar.gz)
+md5sums=('f8b09b7e51223e1ae1c1e466af3ac82e'
+ '89e5800096aa334009f98e7c1743d825'
+ '26c0886cc60729b94956cc6d81cd076c')
build()
{
if [ $NOEXTRACT -ne 1 ]; then
# prepare headers
mkdir -p $srcdir/mingw/include/
- cp -r $srcdir/w32api-${_w32apiver}-mingw32/include/* \
+ cp -r $srcdir/w32api-${_w32apiver}-${_upw32rel}-mingw32/include/* \
$srcdir/mingwrt-${_runtimever}-mingw32/include/* \
$srcdir/mingw/include/
unset CFLAGS CXXFLAGS
- tar xJf gcc-$pkgver-1-mingw32-src.tar.xz
- tar xjf gcc-$pkgver.tar.bz2
+# tar xJf gcc-$pkgver-${_uprel}-mingw32-src.tar.xz
+ cd $srcdir
+ tar xjf gcc-$pkgver-${_uprel}-mingw32-src/gcc-$pkgver.tar.bz2
mkdir -p $srcdir/build
cd $srcdir/build
@@ -55,14 +58,13 @@ build()
--disable-libssp \
--disable-libgomp \
--with-build-sysroot=$srcdir \
- --with-headers=$srcdir/include \
- || return 1
+ --with-headers=$srcdir/include
else
cd $srcdir/build
fi
- make || return 1
- make install DESTDIR=$pkgdir || return 1
+ make
+ make install DESTDIR=$pkgdir
cd $pkgdir
rm -rf usr/bin/i486-mingw32-{gcov,gccbug,gcc-*} \