summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-05-14 17:17:35 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-05-14 17:17:35 +0000
commit8b57f0b2be7f7de37ce683b416092a28501459f6 (patch)
treeecba72e01e9e45df06efc367eef6b742d4c9cfa9 /net-misc/ebayagent
parentfixed init scripts (diff)
downloadgentoo-2-8b57f0b2be7f7de37ce683b416092a28501459f6.tar.gz
gentoo-2-8b57f0b2be7f7de37ce683b416092a28501459f6.tar.bz2
gentoo-2-8b57f0b2be7f7de37ce683b416092a28501459f6.zip
bug 88118
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'net-misc/ebayagent')
-rw-r--r--net-misc/ebayagent/ChangeLog10
-rw-r--r--net-misc/ebayagent/Manifest3
-rw-r--r--net-misc/ebayagent/ebayagent-0.9.11.ebuild51
-rw-r--r--net-misc/ebayagent/files/digest-ebayagent-0.9.111
-rw-r--r--net-misc/ebayagent/metadata.xml10
5 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/ebayagent/ChangeLog b/net-misc/ebayagent/ChangeLog
new file mode 100644
index 000000000000..3bb67924fec3
--- /dev/null
+++ b/net-misc/ebayagent/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/ebayagent
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ebayagent/ChangeLog,v 1.1 2005/05/14 17:17:35 mcummings Exp $
+
+*ebayagent-0.9.11 (14 May 2005)
+
+ 14 May 2005; Michael Cummings <mcummings@gentoo.org> +metadata.xml,
+ +ebayagent-0.9.11.ebuild:
+ bug 88118, ebuild submitted by Bertrand Jacquin <beber.gentoo@gmail.com>
+
diff --git a/net-misc/ebayagent/Manifest b/net-misc/ebayagent/Manifest
new file mode 100644
index 000000000000..f74a4600ba7e
--- /dev/null
+++ b/net-misc/ebayagent/Manifest
@@ -0,0 +1,3 @@
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 0ee99822b440f51603c8f6ebc6a3e703 ebayagent-0.9.11.ebuild 1867
+MD5 d91da69fc3c98bcf2692e807f7a3f071 files/digest-ebayagent-0.9.11 68
diff --git a/net-misc/ebayagent/ebayagent-0.9.11.ebuild b/net-misc/ebayagent/ebayagent-0.9.11.ebuild
new file mode 100644
index 000000000000..d490b536a28f
--- /dev/null
+++ b/net-misc/ebayagent/ebayagent-0.9.11.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="ebay bidding Perl-Script"
+HOMEPAGE="http://ebayagent.sf.net"
+SRC_URI="mirror://sourceforge/ebayagent/eBayAgent-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="tools"
+KEYWORDS="x86"
+
+DEPEND="dev-lang/perl
+ >=dev-perl/libnet-1.16
+ >=dev-perl/URI-1.35
+ >=dev-perl/Crypt-SSLeay-0.49
+ >=dev-perl/libwww-perl-5.79
+ >=dev-perl/TimeDate-1.16"
+
+S=${WORKDIR}/eBayAgent-${PV}
+
+src_compile() {
+ sed -i -e "s|PREFIX=/usr|PREFIX=${D}${DESTTREE}|" ${S}/Makefile
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+ if use tools; then
+
+ # Patching eBayAgent_Skript
+ # this will replace eBayAgent.pl with eBayAgent.
+ # It also let the script read the settings for eBayAgent_Skript
+ # from $HOME/.eBayAgent_Skript.config
+ mv ${S}/Tools/eBayAgent_Skript ${S}/Tools/eBayAgent_Skript.old
+ sed "s|eBayAgent.pl|eBayAgent|" ${S}/Tools/eBayAgent_Skript.old|sed -e '/fetching\ the\ data/'i"# Patched to read the settings from \$HOME/.eBayAgent_Skript.config\n# This will check if a config file exists. If not -> create\nif [ ! -e \$HOME/.eBayAgent_Skript.config ];then\n\tsed -n '/^# This is a simple/,/^ITEMS=/p' ${DESTTREE}/bin/eBayAgent_Skript > \$HOME/.eBayAgent_Skript.config\necho \"Please adjust \$HOME/.eBayAgent_Skript.config to your needs first\!\"\nexit\nfi\nsource \$HOME/.eBayAgent_Skript.config\n" > ${S}/Tools/eBayAgent_Skript
+ dobin ${S}/Tools/repebay ${S}/Tools/runrepebay ${S}/Tools/eBayAgent_Skript
+ doman ${S}/Tools/repebay.1 ${S}/Tools/runrepebay.1
+ newdoc ${S}/Tools/README_First.txt README_First_Tools.txt
+ newdoc ${S}/Tools/README.Debian README_Tools.Debian
+ fi
+
+ # prepare manpages
+ for mpage in $(find ${D} -name '*.1'|grep man);do
+ gzip $mpage
+ done
+
+ dodoc COPYING INSTALL
+ prepalldocs
+}
diff --git a/net-misc/ebayagent/files/digest-ebayagent-0.9.11 b/net-misc/ebayagent/files/digest-ebayagent-0.9.11
new file mode 100644
index 000000000000..ab21ccdee8b2
--- /dev/null
+++ b/net-misc/ebayagent/files/digest-ebayagent-0.9.11
@@ -0,0 +1 @@
+MD5 353eb58f62d2ac926709c0d8a9e6b920 eBayAgent-0.9.11.tar.bz2 55174
diff --git a/net-misc/ebayagent/metadata.xml b/net-misc/ebayagent/metadata.xml
new file mode 100644
index 000000000000..86672fe64c10
--- /dev/null
+++ b/net-misc/ebayagent/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <maintainer>
+ <email>perl@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <longdescription></longdescription>
+</pkgmetadata>