mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=cross-arm-wince-cegcc-docs
|
|
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/docs
|
|
|
|
export PATH=$_prefix/bin:$PATH
|
|
export TARGET=arm-wince-cegcc
|
|
unset CFLAGS
|
|
unset CXXFLAGS
|
|
unset LDFLAGS
|
|
unset MAKEFLAGS
|
|
|
|
mkdir -p $startdir/pkg/${_prefix}/share/docs && \
|
|
mkdir -p $startdir/pkg/${_prefix}/share/images || return 1
|
|
|
|
tar cf - . | (cd $startdir/pkg/${_prefix}/share/docs; tar xf -) && \
|
|
cd ../website && \
|
|
tar cf - images | (cd $startdir/pkg/${_prefix}/share; tar xf -) || return 1
|
|
|
|
cd .. && \
|
|
cp NEWS README $startdir/pkg/${_prefix} && \
|
|
cp src/binutils/COPYING $startdir/pkg/${_prefix} && \
|
|
cp src/binutils/COPYING.LIB $startdir/pkg/${_prefix} && \
|
|
cp src/binutils/COPYING.NEWLIB $startdir/pkg/${_prefix}
|
|
}
|