diff options
Diffstat (limited to 'dev-util/qdevelop/qdevelop-0.23.ebuild')
-rw-r--r-- | dev-util/qdevelop/qdevelop-0.23.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/qdevelop/qdevelop-0.23.ebuild b/dev-util/qdevelop/qdevelop-0.23.ebuild new file mode 100644 index 000000000..89bcc1917 --- /dev/null +++ b/dev-util/qdevelop/qdevelop-0.23.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils qt4 toolchain-funcs + +KEYWORDS="~x86" + +MY_P=QDevelop-${PV}-1 + +DESCRIPTION="A development environment entirely dedicated to Qt4." +HOMEPAGE="http://qdevelop.org/" +SRC_URI="http://qdevelop.org/download/${MY_P}.zip" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="$(qt4_min_version 4.2)" +DEPEND="app-arch/unzip + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if ! built_with_use =x11-libs/qt-4* sqlite3; then + eerror "x11-libs/qt has to be built with sqlite3 support" + die "qt sqlite3 use-flag not set" + fi +} + +src_compile() { + qmake || die "qmake failed" + emake CXX=$(tc-getCXX) || die "emake failed" +} + +src_install() { + dodoc ChangeLog.txt README.txt + dobin bin/QDevelop +} |