diff options
Diffstat (limited to 'rox-extra/downloadmanager/downloadmanager-0.1.3.ebuild')
-rw-r--r-- | rox-extra/downloadmanager/downloadmanager-0.1.3.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/rox-extra/downloadmanager/downloadmanager-0.1.3.ebuild b/rox-extra/downloadmanager/downloadmanager-0.1.3.ebuild new file mode 100644 index 000000000000..30b62b4b85bd --- /dev/null +++ b/rox-extra/downloadmanager/downloadmanager-0.1.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/rox-extra/downloadmanager/downloadmanager-0.1.3.ebuild,v 1.1 2007/01/15 19:54:43 lack Exp $ + +ROX_LIB_VER=2.0.0 +inherit rox eutils + +MY_PN="DownloadManager" +DESCRIPTION="Download Manager - a downloader for the Fetch and the ROX Desktop" +HOMEPAGE="http://www.kerofin.demon.co.uk/rox/downloadmanager.html" +SRC_URI="http://www.kerofin.demon.co.uk/rox/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=rox-extra/fetch-0.1.0 + || ( >=dev-python/dbus-python-0.71 + ( >=sys-apps/dbus-0.3 <sys-apps/dbus-0.90 ) )" + +APPNAME=${MY_PN} +S=${WORKDIR} + +pkg_setup() { + if ! has_version dev-python/dbus-python && \ + ! built_with_use sys-apps/dbus python + then + einfo "${APPNAME} requires dbus to be built with python support." + einfo "Please rebuild dbus with USE=\"python\"." + die "python dbus modules missing" + fi +} + +src_install() { + # Do normal ROX install first + rox_src_install + + # Install DBUS session file + insinto /usr/share/dbus-1/services + doins "${FILESDIR}/uk.co.demon.kerofin.DownloadManager.service" +} |