diff options
| author | eroen | 2014-08-11 17:44:08 +0200 |
|---|---|---|
| committer | eroen | 2014-08-11 21:47:51 +0200 |
| commit | 27b035b1764d52bf338ec6a3256d70083f679b0d (patch) | |
| tree | 88166016d96603081b0fc8ac1d393867c479823a /games-util | |
| parent | 867047a0abea6d3582a48b7932b25e4613b45ed6 (diff) | |
| download | eroen-overlay-27b035b1764d52bf338ec6a3256d70083f679b0d.tar.gz eroen-overlay-27b035b1764d52bf338ec6a3256d70083f679b0d.tar.bz2 eroen-overlay-27b035b1764d52bf338ec6a3256d70083f679b0d.tar.xz | |
dwarftherapist - improve ebuild
Diffstat (limited to 'games-util')
| -rw-r--r-- | games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616.ebuild | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616.ebuild b/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616.ebuild index 4c211f90..703f651d 100644 --- a/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616.ebuild +++ b/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616.ebuild @@ -1,15 +1,16 @@ -# By eroen, 2013 -# Distributed under the terms of the ISC licence +# By eroen, 2013-2014 +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# # $Header: $ EAPI=5 -inherit games qt4-r2 mercurial +inherit base qmake-utils mercurial games -MY_PN="DwarfTherapist" -MY_P="${MY_PN}-${PV}" - -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/DwarfTherapist-${PV} DESCRIPTION="Management tool designed to run side-by-side with games-simulation/dwarffortress" HOMEPAGE="https://code.google.com/p/dwarftherapist/" @@ -21,19 +22,15 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -COMMON_DEPEND="dev-qt/qtcore +HDEPEND="dev-qt/qtcore" +LIBDEPEND=" + dev-qt/qtcore dev-qt/qtgui dev-qt/qtscript " -DEPEND="${COMMON_DEPEND} - " -RDEPEND="${COMMON_DEPEND} - " - -src_unpack() { - mercurial_src_unpack - qt4-r2_src_unpack -} +DEPEND="${HDEPEND} + ${LIBDEPEND}" +RDEPEND="${LIBDEPEND}" src_prepare() { #Change paths to reflect games policy. The project file controls @@ -52,12 +49,14 @@ src_prepare() { /^Version=/d /^Encoding=/d EOF +} - qt4-r2_src_prepare +src_configure() { + eqmake4 dwarftherapist.pro } src_install() { - qt4-r2_src_install + emake INSTALL_ROOT="${D}" install dodoc "README.txt" "CHANGELOG.txt" "KNOWN_ISSUES.txt" dohtml "doc/"*".html" |
