mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
36 lines
906 B
Bash
36 lines
906 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=cross-arm-wince-cegcc-binutils
|
|
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=()
|
|
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/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=${startdir}/pkg install || return 1
|
|
rm -rf $pkgdir/opt/cegcc/info
|
|
}
|