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

KEYWORDS="~amd64 ~x86"

MAIN_PV="${PV%.*}"
SUB_PV="${PV##*.}"

DESCRIPTION="Traffic library."
HOMEPAGE="http://${PN}.origo.ethz.ch/"
SRC_URI="http://download.origo.ethz.ch/${PN}/792/traffic_ev_${MAIN_PV}_${SUB_PV}.zip"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND="dev-eiffel/eiffelstudio"

S="${WORKDIR}/traffic_ev_${SUB_PV}"

src_compile() {
	echo "Nothing to compile."
}

src_install() {
	dodir /usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV}
	mv -f * "${D}"/usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV}
	chgrp -R users "${D}"/usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV}
	chmod -R g+w "${D}"/usr/share/Eiffel/Traffic_${MAIN_PV}_${SUB_PV}/example
}