diff options
Diffstat (limited to 'dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild')
-rw-r--r-- | dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild b/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild new file mode 100644 index 000000000000..59f6437a709b --- /dev/null +++ b/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/qt4-qtruby/qt4-qtruby-1.4.8.ebuild,v 1.1 2007/06/19 18:33:33 caleb Exp $ + +inherit toolchain-funcs eutils qt4 + +DESCRIPTION="Ruby bindings for QT4" +HOMEPAGE="http://rubyforge.org/projects/korundum" +SRC_URI="http://rubyforge.org/frs/download.php/21925/qt4-qtruby-1.4.8.tgz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" +DEPEND=">=virtual/ruby-1.8 + =x11-libs/qt-4*" +RDEPEND="${DEPEND} + >=dev-util/cmake-2.4.6" + +SLOT="0" + +src_unpack() { + unpack $A + cd ${S} + epatch ${FILESDIR}/FindQwt.cmake.diff + epatch ${FILESDIR}/libCMakeLists.diff +} + + +src_compile() { + cd ${S} && cmake -DCMAKE_INSTALL_PREFIX=/usr/ . && make || die +} + +src_install() { + make DESTDIR=${D} install || die +} |