summaryrefslogtreecommitdiff
blob: 5a9db232d3c61c69b208536178096e48f5fcee25 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="A simple tool for source code analysis"
HOMEPAGE="http://spinroot.com/uno"
SRC_URI="http://spinroot.com/${PN}/${PN}_v${PV/./}.tar.gz"

LICENSE="public-domain GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S="${WORKDIR}/${PN}"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}/${PV}-makefile.patch"
}

src_compile() {
	cd "${S}/src"
	emake || die "emake failed"
}

src_install() {
	dobin src/uno src/uno_local src/uno_global
	doman doc/uno.1
	insinto "/usr/share/doc/${PF}"
	doins doc/uno_long.pdf doc/uno_short.pdf
	insinto "/usr/share/${PN}"
	doins -r prop
}