blob: d25607944ee0ebb7e88d82d12f8ca674928ffc8e (
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
|
# $Id: PKGBUILD 40227 2011-02-22 02:15:34Z stephane $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jose Negron <josenj.arch@mailnull.net>
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
}
|