summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/electricsheep/ChangeLog8
-rw-r--r--x11-misc/electricsheep/electricsheep-2.3_beta1.ebuild52
-rw-r--r--x11-misc/electricsheep/files/digest-electricsheep-2.3_beta11
3 files changed, 61 insertions, 0 deletions
diff --git a/x11-misc/electricsheep/ChangeLog b/x11-misc/electricsheep/ChangeLog
new file mode 100644
index 000000000000..15c4f38a56b9
--- /dev/null
+++ b/x11-misc/electricsheep/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for x11-misc/electricsheep
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.1 2002/12/09 04:18:33 vapier Exp $
+
+*electricsheep-2.3 (08 Dec 2002)
+
+ 08 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #11707.
diff --git a/x11-misc/electricsheep/electricsheep-2.3_beta1.ebuild b/x11-misc/electricsheep/electricsheep-2.3_beta1.ebuild
new file mode 100644
index 000000000000..8e8c3c391fb9
--- /dev/null
+++ b/x11-misc/electricsheep/electricsheep-2.3_beta1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/electricsheep-2.3_beta1.ebuild,v 1.1 2002/12/09 04:18:33 vapier Exp $
+
+DESCRIPTION="realize the collective dream of sleeping computers from all over the internet"
+HOMEPAGE="http://electricsheep.org/"
+SRC_URI="http://electricsheep.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11
+ sys-apps/groff
+ sys-devel/perl
+ media-libs/libmpeg2"
+RDEPEND="virtual/x11
+ net-ftp/curl
+ x11-misc/xloadimage"
+
+src_compile() {
+ # fix hardcoded path
+ cp electricsheep.c electricsheep.c.old
+ sed -e "s:/usr/local/share/:/usr/share/${PN}/:" \
+ electricsheep.c.old > electricsheep.c
+
+ econf --datadir=/usr/share/${PN}
+ emake || die
+}
+
+src_install() {
+ # fix install path for flame
+ cp flame/Makefile flame/Makefile.old
+ sed -e "s:/usr/local/bin:${D}/usr/bin:" \
+ flame/Makefile.old > flame/Makefile
+
+ # prevent writing for xscreensaver
+ cp Makefile Makefile.old
+ sed -e "s/^install-data-local:$/install-data-local:\nmy-install-data-local:/" \
+ Makefile.old > Makefile
+
+ # install the main stuff ... flame doesnt create /usr/bin so we have to
+ dodir /usr/bin
+ make install DESTDIR=${D} || die
+
+ # remove header files that are installed over libmpeg2
+ rm -rf ${D}/usr/include
+
+ # install the xscreensaver config file
+ insinto /usr/share/control-center/screensavers
+ doins electricsheep.xml
+}
diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.3_beta1 b/x11-misc/electricsheep/files/digest-electricsheep-2.3_beta1
new file mode 100644
index 000000000000..bb1216c0c0c1
--- /dev/null
+++ b/x11-misc/electricsheep/files/digest-electricsheep-2.3_beta1
@@ -0,0 +1 @@
+MD5 fe867cf44a47c8e3a3f6948b697bed38 electricsheep-2.3.tar.gz 544335