From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/sdcc/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 community/sdcc/PKGBUILD (limited to 'community/sdcc/PKGBUILD') diff --git a/community/sdcc/PKGBUILD b/community/sdcc/PKGBUILD new file mode 100644 index 000000000..d25607944 --- /dev/null +++ b/community/sdcc/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 40227 2011-02-22 02:15:34Z stephane $ +# Maintainer: Sergej Pupykin +# Maintainer: Jose Negron + +pkgname=sdcc +pkgver=3.0.0 +pkgrel=2 +pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)" +arch=('i686' 'x86_64') +license=('GPL') +depends=('bash' 'gcc-libs') +makedepends=('gputils' 'flex' 'bison' 'patch') +optdepends=('python') +url="http://sdcc.sourceforge.net/" +options=(!strip) +source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2) +md5sums=('20fbd49a3421e09fe65577c45524c89e') + +build() { + cd $srcdir/$pkgname + LDFLAGS="-lm" ./configure --prefix=$pkgdir/usr + make + make install + strip $pkgdir/usr/bin/* || true +} -- cgit v1.2.3-54-g00ecf