summaryrefslogtreecommitdiff
blob: ed9819812d27ac6025fae2d6e873a500cd9f318c (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Zorro bus utility for Amigas running 2.1 and later kernels"
HOMEPAGE="http://users.telenet.be/geertu/Download/#zorro"
SRC_URI="http://users.telenet.be/geertu/Download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~m68k ~ppc"

PATCHES=(
	"${FILESDIR}"/${PN}-0.04-20021014.diff
	"${FILESDIR}"/${PN}-gentoo.diff
	"${FILESDIR}"/${PN}-0.04-fix-build-system.patch
)

src_configure() {
	tc-export CC
	append-cflags -Wall
}

src_install() {
	dosbin lszorro
	einstalldocs
	doman *.8

	insinto /usr/share/misc
	doins zorro.ids
}