268e28a6c7
git-svn-id: http://svn.sabayonlinux.org/overlay@2348 d7aec97c-591d-0410-af39-a8856400b30a
34 lines
764 B
Bash
34 lines
764 B
Bash
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
inherit multilib qt3
|
|
|
|
MY_P="${PN}_${PV}"
|
|
|
|
DESCRIPTION="Free UML 2 tool with code generation"
|
|
HOMEPAGE="http://bouml.free.fr/"
|
|
SRC_URI="http://bouml.free.fr/${MY_P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
|
IUSE=""
|
|
|
|
DEPEND="$(qt_min_version 3)"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_compile() {
|
|
find src/ genplugouts/ -type f -name "*.pro" | while read file; do
|
|
local subdir="${file%/*}"
|
|
eqmake3 "${file}" -o "${subdir}"/Makefile
|
|
emake -C "${subdir}" || die "emake failed in ${subdir}"
|
|
done
|
|
}
|
|
|
|
src_install() {
|
|
emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install \
|
|
|| die "emake install failed"
|
|
}
|