# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=cross-arm-wince-cegcc-w32api pkgver=0.55 pkgrel=1 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=('a781929486db5b6154a0f82a825895e9') _prefix=/opt/cegcc build() { cd ${startdir}/src/cegcc-$pkgver/src/ export PATH=$_prefix/bin:$PATH mkdir -p $startdir/pkg/$_prefix/arm-wince-cegcc/include/w32api/{GL,directx,ddk} cp -fp w32api/include/*.h $startdir/pkg/$_prefix/arm-wince-cegcc/include/w32api || return 1 cp -fp w32api/include/GL/*.h $startdir/pkg/$_prefix/arm-wince-cegcc/include/w32api/GL || return 1 cp -fp w32api/include/directx/*.h $startdir/pkg/$_prefix/arm-wince-cegcc/include/w32api/directx || return 1 cp -fp w32api/include/ddk/*.h $startdir/pkg/$_prefix/arm-wince-cegcc/include/w32api/ddk || return 1 }