diff options
author | Oliver Borm (oli) <oli.borm@web.de> | 2008-11-13 18:55:10 +0000 |
---|---|---|
committer | Oliver Borm (oli) <oli.borm@web.de> | 2008-11-13 18:55:10 +0000 |
commit | 259296397921cb54c123a56f6613705b0ad026ae (patch) | |
tree | a1bb51aad2fbe5bf008ccfab2e38eba5415adf4d /x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild | |
parent | sci-libs/candystore: Some minor improvements (diff) | |
download | sunrise-259296397921cb54c123a56f6613705b0ad026ae.tar.gz sunrise-259296397921cb54c123a56f6613705b0ad026ae.tar.bz2 sunrise-259296397921cb54c123a56f6613705b0ad026ae.zip |
x11-libs/libqglviewer: Some minor improvements
svn path=/sunrise/; revision=7347
Diffstat (limited to 'x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild')
-rw-r--r-- | x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild b/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild index 210c79492..c5f129924 100644 --- a/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild +++ b/x11-libs/libqglviewer/libqglviewer-2.3.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit kde-functions qt4 +inherit qt4 MY_P="libQGLViewer-"${PV} @@ -15,37 +15,33 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" -RDEPEND="virtual/opengl +DEPEND="virtual/opengl >=x11-libs/qt-4.3" -S="${WORKDIR}"/${MY_P} +S=${WORKDIR}/${MY_P}/QGLViewer src_compile() { - set-qtdir 4 - cd QGLViewer - eqmake4 QGLViewer.pro -o Makefile \ - PREFIX=/usr || die "qmake QGLViewer failed" + eqmake4 QGLViewer.pro -o Makefile PREFIX=/usr emake || die "emake QGLViewer failed" cd ../designerPlugin eqmake4 designerPlugin.pro -o Makefile \ INCLUDE_DIR=.. \ - LIB_DIR=../QGLViewer || die "qmake designerPlugin failed" + LIB_DIR=../QGLViewer emake || die "emake designerPlugin failed" } src_install() { - cd QGLViewer INSTALL_ROOT="${D}" emake install_target install_include || die "install QGLViewer failed" cd ../designerPlugin INSTALL_ROOT="${D}" emake install_target || die "install QGLViewer failed" - dodoc ../README + dodoc ../README || die "installing README failed" if use doc ; then - dohtml -r ../doc/* + dohtml -r ../doc/* || die "installing html files failed" insinto /usr/share/doc/${PF} - doins -r ../examples + doins -r ../examples || die "installing examples failed" fi } |