aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
commit76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch)
tree94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-electronics/stage
parentmove stuff to root (diff)
downloadsci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-electronics/stage')
-rw-r--r--sci-electronics/stage/ChangeLog10
-rw-r--r--sci-electronics/stage/Manifest20
-rw-r--r--sci-electronics/stage/files/stage-2.0.3-docdst-fix.patch12
-rw-r--r--sci-electronics/stage/metadata.xml5
-rw-r--r--sci-electronics/stage/stage-2.0.3.ebuild57
5 files changed, 104 insertions, 0 deletions
diff --git a/sci-electronics/stage/ChangeLog b/sci-electronics/stage/ChangeLog
new file mode 100644
index 000000000..fc7658bba
--- /dev/null
+++ b/sci-electronics/stage/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-electronics/player
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*stage-2.0.3 (25 Nov 2007)
+
+ 25 Nov 2007; S├ębastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +stage-2.0.3.ebuild:
+ Initial import. Thanks Angelo Arrifano for his work. See bug #185298 for
+ problems.
diff --git a/sci-electronics/stage/Manifest b/sci-electronics/stage/Manifest
new file mode 100644
index 000000000..7739a55af
--- /dev/null
+++ b/sci-electronics/stage/Manifest
@@ -0,0 +1,20 @@
+AUX stage-2.0.3-docdst-fix.patch 372 RMD160 0265721b92d0e6a2ef3c7bb31b687318656ee693 SHA1 463065f0b076d729f537b889299b5578812f29f3 SHA256 a0821007072f3d90da900b1f30d3a28fe7989341ed885082a47e7a4f8f591388
+MD5 bcc7b899bc1be0e54c724b6c023cb189 files/stage-2.0.3-docdst-fix.patch 372
+RMD160 0265721b92d0e6a2ef3c7bb31b687318656ee693 files/stage-2.0.3-docdst-fix.patch 372
+SHA256 a0821007072f3d90da900b1f30d3a28fe7989341ed885082a47e7a4f8f591388 files/stage-2.0.3-docdst-fix.patch 372
+DIST stage-2.0.3.tar.bz2 451664 RMD160 4f22d8c423de37d70e099a6593a94ab2f8eaf021 SHA1 2595fa2b004cc81fcdd89d1630bffa55304c7522 SHA256 7a9619f5ef633d18a11900da1e59e807547180fce4420bb9e9b4c681ddbe6c83
+EBUILD stage-2.0.3.ebuild 1238 RMD160 1e14bdc41e38a86044488442c70fd90bf778e76a SHA1 9277c6491b47bd6a2daf4282d2d6ad3271971cfd SHA256 2b6ed7a95d454d322b7da8e841649a354ae34281f47400939a9915d9f5afc94b
+MD5 ce3c823b8656de05263a328aba416f27 stage-2.0.3.ebuild 1238
+RMD160 1e14bdc41e38a86044488442c70fd90bf778e76a stage-2.0.3.ebuild 1238
+SHA256 2b6ed7a95d454d322b7da8e841649a354ae34281f47400939a9915d9f5afc94b stage-2.0.3.ebuild 1238
+MISC ChangeLog 332 RMD160 ac0eb19506e1f4b1a3a697425b23c6453e18fefa SHA1 70a5f4638a329be756a335f42a6ce6045cf2f480 SHA256 94c26682a32bb2aabade20fde9d5baf836329f0c91dde588c5af9f35485c963a
+MD5 d27f239f473133b8661c2ccf42235865 ChangeLog 332
+RMD160 ac0eb19506e1f4b1a3a697425b23c6453e18fefa ChangeLog 332
+SHA256 94c26682a32bb2aabade20fde9d5baf836329f0c91dde588c5af9f35485c963a ChangeLog 332
+MISC metadata.xml 168 RMD160 02ffa2a6bfc173f6a601931fc931eb411d1f1a07 SHA1 caa9701abcacc8b45314ce04b0a8ebc5f04dfc09 SHA256 182df1c85b4fe43ec45658071ebe6cf7f23cc51288ea2e14ea46f7c5b1391e6f
+MD5 0c85a4d253e03ab9ba216b40fbad3f5f metadata.xml 168
+RMD160 02ffa2a6bfc173f6a601931fc931eb411d1f1a07 metadata.xml 168
+SHA256 182df1c85b4fe43ec45658071ebe6cf7f23cc51288ea2e14ea46f7c5b1391e6f metadata.xml 168
+MD5 a0d1ecfa3ae0a2a8393745a6e8924cb3 files/digest-stage-2.0.3 238
+RMD160 ae880e7f6342170797963783edb8b960adafd992 files/digest-stage-2.0.3 238
+SHA256 dafd12547705b9960710e1fd0d614f4c474d480bb54745a66224f8de803b8225 files/digest-stage-2.0.3 238
diff --git a/sci-electronics/stage/files/stage-2.0.3-docdst-fix.patch b/sci-electronics/stage/files/stage-2.0.3-docdst-fix.patch
new file mode 100644
index 000000000..889a03d22
--- /dev/null
+++ b/sci-electronics/stage/files/stage-2.0.3-docdst-fix.patch
@@ -0,0 +1,12 @@
+diff -ur stage-2.0.3/docsrc/Makefile.am stage-2.0.3-fix/docsrc/Makefile.am
+--- stage-2.0.3/docsrc/Makefile.am 2006-06-09 02:39:47.000000000 +0200
++++ stage-2.0.3-fix/docsrc/Makefile.am 2007-07-14 15:06:31.414020298 +0200
+@@ -9,7 +9,7 @@
+
+ #header.html
+
+-DOCDIR = $(prefix)/share/doc
++DOCDIR = $(DESTDIR)$(prefix)/share/doc
+
+ # build docs manually with 'make doc'
+ doc:
diff --git a/sci-electronics/stage/metadata.xml b/sci-electronics/stage/metadata.xml
new file mode 100644
index 000000000..53ae7d77c
--- /dev/null
+++ b/sci-electronics/stage/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-electronics</herd>
+</pkgmetadata>
diff --git a/sci-electronics/stage/stage-2.0.3.ebuild b/sci-electronics/stage/stage-2.0.3.ebuild
new file mode 100644
index 000000000..e14d3f0f2
--- /dev/null
+++ b/sci-electronics/stage/stage-2.0.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools eutils
+
+DESCRIPTION="2D multiple-robot simulator."
+HOMEPAGE="http://playerstage.sourceforge.net/index.php?src=stage"
+SRC_URI="mirror://sourceforge/playerstage/stage-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc"
+
+RDEPEND=">=x11-libs/gtk+-2.4
+ >=sci-electronics/player-2.0.2
+ x11-apps/rgb"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-docdst-fix.patch
+ sed -i \
+ -e 's;/usr/X11R6/lib/X11/rgb.txt;/usr/share/X11/rgb.txt;' \
+ configure.ac || die "sed failed"
+ eautoreconf
+}
+
+src_compile() {
+ #Disable gnome-canvas since its experimental
+ econf --disable-gnomecanvas || die "econf failed"
+ emake || die "emake failed"
+
+ if use doc; then
+ pushd docsrc
+ doxygen -u stage.dox || die "doxygen failed"
+ touch header.html
+ emake "doc" || die "emake doc failed"
+ popd
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use doc; then
+ pushd docsrc
+ emake DESTDIR="${D}" "doc-install" || die "emake doc-install failed"
+ popd
+ fi
+
+ dodoc AUTHORS ChangeLog NEWS README || die
+}