diff options
author | root <root@rshg054.dnsready.net> | 2011-12-20 23:14:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-20 23:14:59 +0000 |
commit | ea1f4bece8870857691a7123bdc899562760b3fe (patch) | |
tree | b332a0692c3e63d46cb60cb1214fc57871e619c8 /community/arm-wince-cegcc-binutils/PKGBUILD | |
parent | 6d2dec5c3443d142a0131c43666929490961c16a (diff) |
Tue Dec 20 23:14:59 UTC 2011
Diffstat (limited to 'community/arm-wince-cegcc-binutils/PKGBUILD')
-rw-r--r-- | community/arm-wince-cegcc-binutils/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/arm-wince-cegcc-binutils/PKGBUILD b/community/arm-wince-cegcc-binutils/PKGBUILD new file mode 100644 index 000000000..491004df4 --- /dev/null +++ b/community/arm-wince-cegcc-binutils/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 20572 2010-07-09 07:26:42Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=cross-arm-wince-cegcc-binutils +pkgver=0.59.1 +pkgrel=1 +_prefix=/opt/cegcc +pkgdesc="CE GCC bundle - cross compilation tools for WinCE" +arch=(i686 x86_64) +license=(GPL) +options=(!libtool) +url="http://cegcc.sf.net" +depends=(zlib) +groups=('cegcc') +source=(http://arch.pp.ru/~sergej/dl/cegcc-$pkgver.tar.bz2) +md5sums=('5e3c1098abdf8e5db2a3518ee3578b4b') + +build() { + cd $srcdir/cegcc/src/binutils + + unset CFLAGS + unset LDFLAGS + + [ $NOEXTRACT -eq 1 ] || ./configure \ + --prefix=${_prefix} \ + --exec-prefix=${_prefix} \ + --bindir=${_prefix}/bin \ + --target=arm-wince-cegcc \ + --disable-nls \ + --includedir=${_prefix}/include || return 1 + + make || (cd etc && make) && make || return 1 + make DESTDIR=$pkgdir install || return 1 + rm -rf $pkgdir/opt/cegcc/info +} |