summaryrefslogtreecommitdiff
path: root/community/mingw32-binutils/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/mingw32-binutils/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/mingw32-binutils/PKGBUILD')
-rw-r--r--community/mingw32-binutils/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/mingw32-binutils/PKGBUILD b/community/mingw32-binutils/PKGBUILD
new file mode 100644
index 000000000..2ead06c5e
--- /dev/null
+++ b/community/mingw32-binutils/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 36142 2010-12-27 16:21:38Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Ondrej Jirman <megous@megous.com>
+# Contributor: mosra <mosra@centrum.cz>
+
+pkgname=mingw32-binutils
+pkgver=2.21
+pkgrel=1
+arch=(i686 x86_64)
+url="https://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GNU-Binutils/"
+pkgdesc="A set of programs to assemble and manipulate binary and object files (mingw)"
+depends=('glibc' 'zlib')
+license=(GPL)
+source=(https://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/GNU-Binutils/binutils-$pkgver/binutils-$pkgver-2-mingw32-src.tar.lzma)
+md5sums=('f75122b3d253cc9054dc82d90c10455a')
+
+build() {
+ tar --lzma -xf binutils-$pkgver-2-mingw32-src.tar.lzma
+ cd $srcdir/binutils-$pkgver
+ ./configure \
+ --target=i486-mingw32 \
+ --host=$CHOST \
+ --build=$CHOST \
+ --prefix=/usr \
+ --disable-nls \
+ --enable-shared
+ make
+ make install DESTDIR=$pkgdir
+ rm -rf $pkgdir/usr/lib
+ rm -rf $pkgdir/usr/share/{info,man}
+}