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/oer-1.0.64.ebuild
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/oer-1.0.64.ebuild')
-rw-r--r--net-irc/oer/oer-1.0.64.ebuild46
1 files changed, 46 insertions, 0 deletions
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
+}