summaryrefslogtreecommitdiffstats
path: root/net-nntp/colobus/colobus-2.1-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/colobus/colobus-2.1-r1.ebuild')
-rw-r--r--net-nntp/colobus/colobus-2.1-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-nntp/colobus/colobus-2.1-r1.ebuild b/net-nntp/colobus/colobus-2.1-r1.ebuild
new file mode 100644
index 0000000..a289e49
--- /dev/null
+++ b/net-nntp/colobus/colobus-2.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="colobus"
+HOMEPAGE="http://trainedmonkey.com/colobus/"
+SRC_URI="http://trainedmonkey.com/colobus/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="amd64 x86"
+DEPEND=""
+RDEPEND="dev-lang/perl
+ dev-perl/DBI
+ perl-core/Digest-MD5
+ dev-perl/MailTools"
+#RDEPEND=""
+
+
+#S="${WORKDIR}/${P/_/}"
+
+src_install() {
+ mkdir -p ${D}/usr/lib/
+ tar xzf ${DISTDIR}/${P}.tar.gz -C ${D}/usr/lib
+ EPATCH_OPTS="-p1 -d ${D}/usr/lib/${P}" epatch ${FILESDIR}/colobus-ds.patch
+
+
+ mkdir -p ${D}/etc/cron.hourly/
+ echo "(cd /usr/lib/${P} && ./colobus-archive -a >/dev/null)" > ${D}/etc/cron.hourly/colobus.sh
+ chmod 0755 ${D}/etc/cron.hourly/colobus.sh
+
+}