annotate dev-util/bouml/bouml-4.6.1.ebuild @ 63:3ff7668d8ca2

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