spim: fix license, other lint

This commit is contained in:
Colin Booth 2021-05-13 22:32:15 -07:00 committed by Érico Nogueira Rolim
parent 28895f2bff
commit 7e90a6c06d
1 changed files with 8 additions and 8 deletions

View File

@ -1,22 +1,22 @@
# Template file for spim
# Template file for 'spim'
pkgname=spim
version=8.0
revision=2
revision=3
build_wrksrc=spim
build_style=configure
configure_script="./Configure"
make_install_target="install install-man"
homepage="http://spimsimulator.sourceforge.net/"
license="BSD"
distfiles="http://pages.cs.wisc.edu/~larus/SPIM/spim-${version}.tar.gz"
checksum="6f205776cb9fa112729507008843b289012190ed3131cbd426c610a58387ee4b"
maintainer="Toyam Cox <vaelatern@gmail.com>"
hostmakedepends="flex"
short_desc="Self-contained simulator/debugger that runs MIPS32 programs"
maintainer="Toyam Cox <vaelatern@gmail.com>"
license="BSD-3-Clause"
homepage="http://spimsimulator.sourceforge.net/"
distfiles="http://pages.cs.wisc.edu/~larus/SPIM/spim-${version}.tar.gz"
checksum="6f205776cb9fa112729507008843b289012190ed3131cbd426c610a58387ee4b"
pre_configure() {
sed '/Copyright (c) 1990-2010, James R. Larus./,+26!d' README > LICENSE
sed -i Makefile \
vsed -i Makefile \
-e 's:CFLAGS =:CFLAGS +=:' \
-e 's:LDFLAGS =:LDFLAGS +=:' \
-e 's:CC = gcc:CC ?= gcc:' \