62
|
1 # Copyright 1999-2007 Gentoo Foundation
|
|
2 # Distributed under the terms of the GNU General Public License v2
|
|
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 $
|
|
4
|
|
5 inherit multilib qt3
|
|
6
|
|
7 MY_P="${PN}_${PV}"
|
|
8
|
|
9 DESCRIPTION="Free UML 2 tool with code generation"
|
|
10 HOMEPAGE="http://bouml.free.fr/"
|
|
11 SRC_URI="http://downloads.sourceforge.net/bouml/${MY_P}.tar.gz"
|
|
12 LICENSE="GPL-2"
|
|
13 SLOT="0"
|
|
14 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
|
15 IUSE=""
|
|
16
|
|
17 DEPEND="x11-libs/qt:3"
|
|
18 #DEPEND="$(qt_min_version 3)"
|
|
19 RDEPEND="${DEPEND}"
|
|
20
|
|
21 S="${WORKDIR}/${MY_P}"
|
|
22
|
|
23 src_compile() {
|
|
24 find src/ genplugouts/ -type f -name "*.pro" | while read file; do
|
|
25 local subdir="${file%/*}"
|
|
26 eqmake3 "${file}" -o "${subdir}"/Makefile
|
|
27 emake -C "${subdir}" || die "emake failed in ${subdir}"
|
|
28 done
|
|
29 }
|
|
30
|
|
31 src_install() {
|
|
32 emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install \
|
|
33 || die "emake install failed"
|
|
34 }
|