From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/mingw32-binutils/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/mingw32-binutils/PKGBUILD (limited to 'community/mingw32-binutils/PKGBUILD') 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 +# Maintainer: Ondrej Jirman +# Contributor: mosra + +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} +} -- cgit v1.2.3-54-g00ecf