summaryrefslogtreecommitdiff
path: root/community/cross-arm-wince-cegcc-cegccdll-dummy/PKGBUILD
blob: 28afeba120ab658b871d81bf9d1107f22ad2ae86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 20575 2010-07-09 07:27:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=cross-arm-wince-cegcc-cegccdll-dummy
pkgver=0.59.1
pkgrel=1
_prefix=/opt/cegcc
pkgdesc="CE GCC bundle - cross compilation tools for WinCE"
arch=(i686 x86_64 'mips64el')
license=(GPL)
options=(!libtool)
url="http://cegcc.sf.net"
depends=('glibc')
source=(http://arch.pp.ru/~sergej/dl/cegcc-$pkgver.tar.bz2)
md5sums=('5e3c1098abdf8e5db2a3518ee3578b4b')

build() {
  cd $srcdir/cegcc/src/

  export PATH=$_prefix/bin:$PATH

  cd cegcc/fakecegccdll && \
  ./install.sh $pkgdir/$_prefix || return 1

  find $pkgdir/ -name '*.a' | while read F; do
    arm-wince-cegcc-ranlib $F
  done
}