annotate dev-util/bouml/bouml-4.3.2.ebuild @ 46:7c7be53d6a01

added s9y ebuild
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 26 Jun 2008 21:38:24 +0200
parents 126096e3d51b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2007 Gentoo Foundation
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
126096e3d51b added ebuilds from the svn portage tree
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 $
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 inherit multilib qt3
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 MY_P="${PN}_${PV}"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 DESCRIPTION="Free UML 2 tool with code generation"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="http://bouml.free.fr/"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="http://bouml.free.fr/${MY_P}.tar.gz"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="GPL-2"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SLOT="0"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 IUSE=""
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 DEPEND="$(qt_min_version 3)"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 RDEPEND="${DEPEND}"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 S="${WORKDIR}/${MY_P}"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 src_compile() {
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 find src/ genplugouts/ -type f -name "*.pro" | while read file; do
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 local subdir="${file%/*}"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 eqmake3 "${file}" -o "${subdir}"/Makefile
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 emake -C "${subdir}" || die "emake failed in ${subdir}"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 done
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 }
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 src_install() {
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install \
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 || die "emake install failed"
126096e3d51b added ebuilds from the svn portage tree
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 }