summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2007-09-18 08:14:31 +0000
committerLuca Barbato <lu_zero@gentoo.org>2007-09-18 08:14:31 +0000
commit0a19ad82e566ca0df3239e8c1e19bce81c46cf8b (patch)
tree3ad2ebca1e8cd2d5f05f63716f16ca96821cb5b0 /app-emulation/qemulator
parentnew revision fixing bug #191333 (diff)
downloadgentoo-2-0a19ad82e566ca0df3239e8c1e19bce81c46cf8b.tar.gz
gentoo-2-0a19ad82e566ca0df3239e8c1e19bce81c46cf8b.tar.bz2
gentoo-2-0a19ad82e566ca0df3239e8c1e19bce81c46cf8b.zip
New package, see bug #169137
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-emulation/qemulator')
-rw-r--r--app-emulation/qemulator/Manifest16
-rw-r--r--app-emulation/qemulator/files/basedir.patch10
-rw-r--r--app-emulation/qemulator/files/digest-qemulator-0.53
-rw-r--r--app-emulation/qemulator/metadata.xml8
-rw-r--r--app-emulation/qemulator/qemulator-0.5.ebuild43
5 files changed, 80 insertions, 0 deletions
diff --git a/app-emulation/qemulator/Manifest b/app-emulation/qemulator/Manifest
new file mode 100644
index 000000000000..e465bf8d1baf
--- /dev/null
+++ b/app-emulation/qemulator/Manifest
@@ -0,0 +1,16 @@
+AUX basedir.patch 409 RMD160 fc9e2f33e82fcf45497922cc7e57dae22add37e0 SHA1 ea0251ea9a111f66b43d86cfe2a5d3cbff805d93 SHA256 607739458cf75a6e99fc166c18375f083610943a06cee32d8ef072b69a4f493a
+MD5 06253e9dc385a8ecbffb89f139f8cc92 files/basedir.patch 409
+RMD160 fc9e2f33e82fcf45497922cc7e57dae22add37e0 files/basedir.patch 409
+SHA256 607739458cf75a6e99fc166c18375f083610943a06cee32d8ef072b69a4f493a files/basedir.patch 409
+DIST dodownload.php?file=Qemulator-0.5.tar.gz 769783 RMD160 7c5e316467cb63c364ae698b2d5351ae5576c0ee SHA1 100969511d94986f38d54996d09744cb2c9e00cb SHA256 c658a329214ed557c73dc3f165f4aed65990b4a9a7001e6b1aa9ac904f2abc5a
+EBUILD qemulator-0.5.ebuild 899 RMD160 b017424659cb884ef24ab5fcaa0daf24f8923ecd SHA1 8c5e8e266517b51139f5bba2b0c51b90cf8257d3 SHA256 ee6b7b228495a29bddc40f777da1af33c248c887369318f631c40d9768e08401
+MD5 cce89d8be922e22222570b4ff60d65e6 qemulator-0.5.ebuild 899
+RMD160 b017424659cb884ef24ab5fcaa0daf24f8923ecd qemulator-0.5.ebuild 899
+SHA256 ee6b7b228495a29bddc40f777da1af33c248c887369318f631c40d9768e08401 qemulator-0.5.ebuild 899
+MISC metadata.xml 222 RMD160 8d98fcaaf7c7de70e19457776c3fae33f50ba8b7 SHA1 f6a00ec35a3cf9fc6135a48521949905242baf89 SHA256 43f6f0590273110b6fa46886158dfe583245c76bb5b27cee47897e81d8decbf2
+MD5 6f636b32783a84bffd31c7be1b60cb40 metadata.xml 222
+RMD160 8d98fcaaf7c7de70e19457776c3fae33f50ba8b7 metadata.xml 222
+SHA256 43f6f0590273110b6fa46886158dfe583245c76bb5b27cee47897e81d8decbf2 metadata.xml 222
+MD5 b138d68a236396bb38ef5d57fa2df3f9 files/digest-qemulator-0.5 301
+RMD160 96b2eb0d97f431e031df3ca7fd110ebe8843bcc8 files/digest-qemulator-0.5 301
+SHA256 1f371b4519c2fe092105923631445deb160254cc7b6a7f10f4b4eec824bc8c3d files/digest-qemulator-0.5 301
diff --git a/app-emulation/qemulator/files/basedir.patch b/app-emulation/qemulator/files/basedir.patch
new file mode 100644
index 000000000000..fbb8fd4dfacb
--- /dev/null
+++ b/app-emulation/qemulator/files/basedir.patch
@@ -0,0 +1,10 @@
+--- usr/local/bin/qemulator 2007-03-03 22:40:27.000000000 +0100
++++ usr/local/bin/qemulator 2007-03-03 22:32:29.000000000 +0100
+@@ -78,6 +78,7 @@
+ if not os.path.exists(os.path.join(basedir, "main.py")):
+ if os.path.exists(os.path.join(os.getcwd(), "main.py")):
+ basedir = os.getcwd()
++basedir = "/usr/lib/qemulator"
+ sys.path.insert(0, basedir)
+ os.chdir(basedir)
+ #print "basedir: " + basedir
diff --git a/app-emulation/qemulator/files/digest-qemulator-0.5 b/app-emulation/qemulator/files/digest-qemulator-0.5
new file mode 100644
index 000000000000..30980d9855ca
--- /dev/null
+++ b/app-emulation/qemulator/files/digest-qemulator-0.5
@@ -0,0 +1,3 @@
+MD5 a2ab585f2a987b5fafa5f76b785d6c1a dodownload.php?file=Qemulator-0.5.tar.gz 769783
+RMD160 7c5e316467cb63c364ae698b2d5351ae5576c0ee dodownload.php?file=Qemulator-0.5.tar.gz 769783
+SHA256 c658a329214ed557c73dc3f165f4aed65990b4a9a7001e6b1aa9ac904f2abc5a dodownload.php?file=Qemulator-0.5.tar.gz 769783
diff --git a/app-emulation/qemulator/metadata.xml b/app-emulation/qemulator/metadata.xml
new file mode 100644
index 000000000000..d0708491d2d5
--- /dev/null
+++ b/app-emulation/qemulator/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lu_zero@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emulation/qemulator/qemulator-0.5.ebuild b/app-emulation/qemulator/qemulator-0.5.ebuild
new file mode 100644
index 000000000000..92b14aef9a54
--- /dev/null
+++ b/app-emulation/qemulator/qemulator-0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemulator/qemulator-0.5.ebuild,v 1.1 2007/09/18 08:14:31 lu_zero Exp $
+
+inherit eutils python
+
+MY_PN="${PN/q/Q}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="a gtk/glade front-end for Qemu"
+HOMEPAGE="http://qemulator.createweb.de/"
+SRC_URI="http://qemulator.createweb.de/plugins/downloads/dodownload.php?file=${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-python/pygtk-2.8.6
+ >=app-emulation/qemu-0.8.1"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}
+ #for good directory
+ epatch ${FILESDIR}/basedir.patch
+}
+
+src_install() {
+ #INSTDIR="/usr/"
+ einfo "Installing Qemulator..."
+ #dodir ${INSTDIR}
+ #mv ${WORKDIR}/${MY_P}/usr/* ${D}${INSTDIR}
+ dobin usr/local/bin/*
+ insinto /usr/lib/${PN}
+ doins -r usr/local/lib/${PN}/*
+ insinto /usr/share
+ doins -r usr/local/share/*
+ dodoc TRANSLATION README
+}