blob: 0eca3e4922bd47a706f8c00ac1fb483422ae1f40 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=spim
pkgver=8.0
pkgrel=3
pkgdesc="Simulator for MIPS32"
url="http://spimsimulator.sourceforge.net/"
arch="all"
license="BSD-3-Clause"
depends=""
depends_dev=""
makedepends="bash flex bison"
install=""
subpackages="$pkgname-doc"
source="http://pages.cs.wisc.edu/~larus/SPIM/${pkgname}-${pkgver}.tar.gz
flex-2.6-compat.patch
respect-env.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
make configuration $pkgname \
-C "$builddir"/$pkgname
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" -C $pkgname install
install -Dm644 Documentation/spim.man \
"$pkgdir"/usr/share/man/man1/spim.1
for i in ChangeLog Documentation/BLURB README VERSION; do
install -Dm644 $i \
"$pkgdir"/usr/share/doc/$pkgname/${i##*/}
done
}
sha512sums="c4eb66863a931b74d6c6ecd92860d16fd6369c85caecba1e71a1149e73e708502d1070f17a9beb6d0af1368db1ee5a85c040b596866a1236275cdd410a661adf spim-8.0.tar.gz
627507dbf2f8c8019372641a9ff04eace2b1db44e7e481efab795cfab22a44cb5d7fb847c8da59d3b74420ea73369d9c2692fecc1c115d9a8f128e31b2fbf059 flex-2.6-compat.patch
b8b685b044e2a640fb96fcf62c8c220b6de5f1f50a3add31b17f36d4b564c417195d0b9a25ed0c50ced429f066621bbc84124134a6ef62391a0e6531d6383919 respect-env.patch"
|