summaryrefslogtreecommitdiff
path: root/community/sdcc/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/sdcc/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/sdcc/PKGBUILD')
-rw-r--r--community/sdcc/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
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 <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
+}