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

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