updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / open64 / PKGBUILD
blob4711a19a5ae7f5f782bcf92bcb26c8a58813c8c0
1 # Maintainer: Jens Staal <staal1978@gmail.com>
3 pkgname=open64
4 pkgver=trunk
5 pkgrel=1
6 pkgdesc="Open64 is the final result of research contributions from a number of compiler groups around the world."
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://www.open64.net/home.html"
10 makedepends=('subversion')
11 depends=('gcc')
13 build() {
15 #_arch=i386 if $ARCH=i686
16 #_arch=x86_64 if $ARCH=x86_64
18 if [ "$CARCH" = "x86_64" ]; then
19        _arch=x86_64
20     else
21        _arch=i386
22     fi
24     svn export https://svn.open64.net/svnroot/open64/trunk open64
25     cd $srcdir/open64
26     export SHELL=/bin/bash
27     mkdir build
28     cd build
29     ../configure --target=$_arch-unknown-linux-gnu --prefix=$startdir/pkg/opt/open64 --with-build-compiler=GNU
30     make all
31     make install