summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-06-17 22:33:17 +0000
committerSven Wegener <swegener@gentoo.org>2004-06-17 22:33:17 +0000
commitd6256973498e0b30f48afbfd4ad792ac25dd96b4 (patch)
treee243b0484d9ddcbeb08c283644abe49b0c94525e /net-irc/oer
parentVersion bump. Made CFLAGS aware and added support for the following USE flags... (diff)
downloadgentoo-2-d6256973498e0b30f48afbfd4ad792ac25dd96b4.tar.gz
gentoo-2-d6256973498e0b30f48afbfd4ad792ac25dd96b4.tar.bz2
gentoo-2-d6256973498e0b30f48afbfd4ad792ac25dd96b4.zip
Initial import, ebuild written by me. Closes bug #51091.
Diffstat (limited to 'net-irc/oer')
-rw-r--r--net-irc/oer/ChangeLog11
-rw-r--r--net-irc/oer/Manifest3
-rw-r--r--net-irc/oer/files/1.0.64-basename.patch11
-rw-r--r--net-irc/oer/files/digest-oer-1.0.641
-rw-r--r--net-irc/oer/metadata.xml5
-rw-r--r--net-irc/oer/oer-1.0.64.ebuild46
6 files changed, 77 insertions, 0 deletions
diff --git a/net-irc/oer/ChangeLog b/net-irc/oer/ChangeLog
new file mode 100644
index 000000000000..749fc89c0e7d
--- /dev/null
+++ b/net-irc/oer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-irc/oer
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/oer/ChangeLog,v 1.1 2004/06/17 22:33:17 swegener Exp $
+
+*oer-1.0.64 (18 Jun 2004)
+
+ 18 Jun 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ +files/1.0.64-basename.patch, +oer-1.0.64.ebuild:
+ Initial import, ebuild written by me. Requested by Daniel Webert
+ <daniel_webert@web.de> in bug #51091.
+
diff --git a/net-irc/oer/Manifest b/net-irc/oer/Manifest
new file mode 100644
index 000000000000..463c1584b48e
--- /dev/null
+++ b/net-irc/oer/Manifest
@@ -0,0 +1,3 @@
+MD5 2d3349f486b731f8e3229803480970d2 oer-1.0.64.ebuild 967
+MD5 734b0897c2e042b8c0d75bb79c00f733 files/1.0.64-basename.patch 240
+MD5 8d109710bda2d73afccad03fc696cd33 files/digest-oer-1.0.64 62
diff --git a/net-irc/oer/files/1.0.64-basename.patch b/net-irc/oer/files/1.0.64-basename.patch
new file mode 100644
index 000000000000..30f19adde8c8
--- /dev/null
+++ b/net-irc/oer/files/1.0.64-basename.patch
@@ -0,0 +1,11 @@
+--- oer-dist/misc.c 2004-06-11 00:11:04.189595518 +0000
++++ oer-dist-gentoo/misc.c 2004-06-11 00:11:08.979326602 +0000
+@@ -775,7 +775,7 @@
+ if(counter >= 0) {
+ return ptr + counter + 1;
+ } else {
+- return NULL;
++ return ptr;
+ }
+ }
+
diff --git a/net-irc/oer/files/digest-oer-1.0.64 b/net-irc/oer/files/digest-oer-1.0.64
new file mode 100644
index 000000000000..5ceb483fcda0
--- /dev/null
+++ b/net-irc/oer/files/digest-oer-1.0.64
@@ -0,0 +1 @@
+MD5 27dcc9d48c01b8edee8f529be4915ba2 oer-1.0-64.tar.gz 134139
diff --git a/net-irc/oer/metadata.xml b/net-irc/oer/metadata.xml
new file mode 100644
index 000000000000..6ef15e900f17
--- /dev/null
+++ b/net-irc/oer/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>net-irc</herd>
+</pkgmetadata>
diff --git a/net-irc/oer/oer-1.0.64.ebuild b/net-irc/oer/oer-1.0.64.ebuild
new file mode 100644
index 000000000000..4ec32d5534b3
--- /dev/null
+++ b/net-irc/oer/oer-1.0.64.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/oer/oer-1.0.64.ebuild,v 1.1 2004/06/17 22:33:17 swegener Exp $
+
+inherit fixheadtails eutils
+
+DESCRIPTION="Free to use GPL'd IRC bot"
+HOMEPAGE="http://oer.equnet.org/"
+SRC_URI="http://oer.equnet.org/${PN}-1.0-64.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}-dist
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-basename.patch
+
+ ht_fix_file configure
+}
+
+src_compile() {
+ econf || die "econf failed"
+ # Bad configure script is forcing CFLAGS, so we pass our own
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin oer || die "dobin failed"
+ dodoc CHANGELOG HELP README THANKS || die "dodoc failed"
+ docinto sample-configuration
+ dodoc sample-configuration/* || die "dodoc failed"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "You can find a sample configuration file set in"
+ einfo "/usr/share/doc/${PF}/sample-configuration"
+ einfo
+}