annotate dev-util/bouml/bouml-4.4.1.ebuild @ 70:e262ea872d54

tabs2spaces
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 10 Feb 2009 02:29:42 +0100
parents 665fb2df350f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2007 Gentoo Foundation
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bouml/bouml-3.4.ebuild,v 1.1 2007/12/23 21:27:06 ferdy Exp $
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 inherit multilib qt3
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 MY_P="${PN}_${PV}"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 DESCRIPTION="Free UML 2 tool with code generation"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="http://bouml.free.fr/"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="http://bouml.free.fr/${MY_P}.tar.gz"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="GPL-2"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SLOT="0"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 IUSE=""
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
51
665fb2df350f bouml uses qt slot dependency now
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 47
diff changeset
18 DEPEND="x11-libs/qt:3"
47
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 RDEPEND="${DEPEND}"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 S="${WORKDIR}/${MY_P}"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 src_compile() {
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 find src/ genplugouts/ -type f -name "*.pro" | while read file; do
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 local subdir="${file%/*}"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 eqmake3 "${file}" -o "${subdir}"/Makefile
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 emake -C "${subdir}" || die "emake failed in ${subdir}"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 done
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 }
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 src_install() {
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install \
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 || die "emake install failed"
f52f5ba1df13 added bouml-4.4.1
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 }