summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-10-05 21:05:28 +0000
committerChuck Short <zul@gentoo.org>2003-10-05 21:05:28 +0000
commitd4807d60ab4274207f71600bbbab0f6ba442a331 (patch)
tree96c01a96eca7f5a69fce0781a37b44e0fdb35a28 /net-irc
parentInitial version, closes #25638 (diff)
downloadgentoo-2-d4807d60ab4274207f71600bbbab0f6ba442a331.tar.gz
gentoo-2-d4807d60ab4274207f71600bbbab0f6ba442a331.tar.bz2
gentoo-2-d4807d60ab4274207f71600bbbab0f6ba442a331.zip
Initial version, closes #25638
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/echat/ChangeLog10
-rw-r--r--net-irc/echat/Manifest4
-rw-r--r--net-irc/echat/echat-0.02-r1.ebuild45
-rw-r--r--net-irc/echat/files/digest-echat-0.02-r11
-rw-r--r--net-irc/echat/metadata.xml5
5 files changed, 64 insertions, 1 deletions
diff --git a/net-irc/echat/ChangeLog b/net-irc/echat/ChangeLog
new file mode 100644
index 000000000000..37de7788b2a3
--- /dev/null
+++ b/net-irc/echat/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-irc/echat
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/echat/ChangeLog,v 1.1 2003/10/05 21:05:11 zul Exp $
+
+*echat-0.02-r1 (05 Oct 2003)
+
+ 05 Oct 2003; <chuck@gentoo.org> echat-0.02-r1.ebuild:
+ Initial version, closes bug #25638. Submitted by <x11@junk.b0x.la>
+ I had to modify this ebuild so it would detect the language settings properly.
+
diff --git a/net-irc/echat/Manifest b/net-irc/echat/Manifest
index 84e5b04fdf8b..72aa73e63291 100644
--- a/net-irc/echat/Manifest
+++ b/net-irc/echat/Manifest
@@ -1,2 +1,4 @@
-MD5 8b06192c511314d91d0f4e079e568aef echat-0.02-r1.ebuild 1074
+MD5 723e058c060647ff50707461c963c22d echat-0.02-r1.ebuild 1150
+MD5 fe7b7d3c5e937f6a5f26207aee388421 ChangeLog 442
+MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
MD5 5fa3227cc2576d01c8b99ee7f8c04796 files/digest-echat-0.02-r1 63
diff --git a/net-irc/echat/echat-0.02-r1.ebuild b/net-irc/echat/echat-0.02-r1.ebuild
new file mode 100644
index 000000000000..3de6d0800d78
--- /dev/null
+++ b/net-irc/echat/echat-0.02-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/echat/echat-0.02-r1.ebuild,v 1.1 2003/10/05 21:05:11 zul Exp $
+
+DESCRIPTION="Console vypress chat clone for *nix like systems."
+HOMEPAGE="http://deep.perm.ru/echat/"
+SRC_URI="http://deep.perm.ru/files/echat/${P}f2.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4
+ sys-libs/ncurses"
+RDEPEND="sys-libs/ncurses"
+
+S=${WORKDIR}/${P}f2
+
+src_compile() {
+ local lang
+
+ # default is english
+ lang="-DEN"
+ [ "${LANG}" == "ru_RU" ] && lang="-DRU"
+ [ "${LANG}" == "tr" ] || [ "${LANG}" == "tr_TR" ] && lang="-DTU"
+
+ sed -i \
+ -e "s:PREFIX=/usr/local:PREFIX=/usr:g" \
+ -e "s:CFLAGS=-Wall -g -O2:CFLAGS=${CFLAGS}:g" \
+ -e "s:DEFINES=-DLINUX -DEN -DCHARSET:DEFINES=-DLINUX ${lang} -DCHARSET:g" \
+ Makefile || die "Sed failed"
+
+ emake || die
+}
+
+src_install() {
+ local doc
+
+ [ "${LANG}" == "ru_RU" ] && doc=".ru"
+ [ "${LANG}" == "tr" ] || [ "${LANG}" == "tr_TR" ] && doc=".tu"
+
+ mv .echatrc.sample dot.echatrc
+ dobin echat || die
+ dodoc NEWS dot.echatrc README${doc}
+}
diff --git a/net-irc/echat/files/digest-echat-0.02-r1 b/net-irc/echat/files/digest-echat-0.02-r1
new file mode 100644
index 000000000000..dd69faf59e1b
--- /dev/null
+++ b/net-irc/echat/files/digest-echat-0.02-r1
@@ -0,0 +1 @@
+MD5 11c72a33ba88fa4a3547ad02d58eff0e echat-0.02f2.tar.gz 51070
diff --git a/net-irc/echat/metadata.xml b/net-irc/echat/metadata.xml
new file mode 100644
index 000000000000..6ef15e900f17
--- /dev/null
+++ b/net-irc/echat/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>