diff options
Diffstat (limited to 'community/cross-arm-wince-cegcc-newlib/PKGBUILD')
-rw-r--r-- | community/cross-arm-wince-cegcc-newlib/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/cross-arm-wince-cegcc-newlib/PKGBUILD b/community/cross-arm-wince-cegcc-newlib/PKGBUILD new file mode 100644 index 000000000..79270520b --- /dev/null +++ b/community/cross-arm-wince-cegcc-newlib/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 20584 2010-07-09 07:29:23Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=cross-arm-wince-cegcc-newlib +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=('glibc') +groups=('cegcc') +source=(http://arch.pp.ru/~sergej/dl/cegcc-$pkgver.tar.bz2) +md5sums=('5e3c1098abdf8e5db2a3518ee3578b4b') + +build() { + cd $srcdir/cegcc/src/ + + mkdir -p build-newlib + cd build-newlib + + export PATH=$_prefix/bin:$PATH + export TARGET=arm-wince-cegcc + unset CFLAGS + unset LDFLAGS + unset MAKEFLAGS + + ../newlib/configure \ + --target=arm-wince-cegcc \ + --prefix=$_prefix + + make || (cd etc && make) && make || return 1 + mkdir -p $pkgdir/opt/cegcc/arm-wince-cegcc/lib/ + make DESTDIR=$pkgdir install || return 1 +} |