summaryrefslogtreecommitdiff
path: root/community/cross-arm-wince-cegcc-w32api/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cross-arm-wince-cegcc-w32api/PKGBUILD')
-rw-r--r--community/cross-arm-wince-cegcc-w32api/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/cross-arm-wince-cegcc-w32api/PKGBUILD b/community/cross-arm-wince-cegcc-w32api/PKGBUILD
new file mode 100644
index 000000000..22eb7a4e2
--- /dev/null
+++ b/community/cross-arm-wince-cegcc-w32api/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 20587 2010-07-09 07:30:01Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=cross-arm-wince-cegcc-w32api
+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/
+
+ export PATH=$_prefix/bin:$PATH
+
+ mkdir -p $pkgdir/$_prefix/arm-wince-cegcc/include/w32api/{GL,directx,ddk}
+ cp -fp w32api/include/*.h $pkgdir/$_prefix/arm-wince-cegcc/include/w32api || return 1
+ cp -fp w32api/include/GL/*.h $pkgdir/$_prefix/arm-wince-cegcc/include/w32api/GL || return 1
+ cp -fp w32api/include/directx/*.h $pkgdir/$_prefix/arm-wince-cegcc/include/w32api/directx || return 1
+ cp -fp w32api/include/ddk/*.h $pkgdir/$_prefix/arm-wince-cegcc/include/w32api/ddk || return 1
+}