summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ebayagent/ebayagent-0.9.11-r2.ebuild')
-rw-r--r--net-misc/ebayagent/ebayagent-0.9.11-r2.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/net-misc/ebayagent/ebayagent-0.9.11-r2.ebuild b/net-misc/ebayagent/ebayagent-0.9.11-r2.ebuild
new file mode 100644
index 000000000000..3a264a4ba8b3
--- /dev/null
+++ b/net-misc/ebayagent/ebayagent-0.9.11-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ebayagent/ebayagent-0.9.11-r2.ebuild,v 1.1 2005/06/12 20:20:34 mcummings Exp $
+
+inherit eutils
+
+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="tcltk"
+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
+ tcltk? ( dev-perl/perl-tk )
+ >=dev-perl/TimeDate-1.16"
+
+S=${WORKDIR}/eBayAgent-${PV}
+
+src_compile() {
+ sed -i -e "s|PREFIX=/usr|PREFIX=${D}${DESTTREE}|" ${S}/Makefile
+
+ # BUG: 95144 fix path for perl-tk app XeBayAgent.pl to point to eBayAgent
+ sed -i -e "s|X_eBayAgentLocation\ \=>\ \"\",|X_eBayAgentLocation\ \=>\ \"${ROOT}\/usr\/bin\/eBayAgent\",|" ${S}/XeBayAgent.pl
+
+ # patching repebay and runrepebay
+ epatch ${FILESDIR}/ebayagent.patch
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+ dosym /usr/bin/eBayAgent /usr/bin/eBayAgent.pl
+
+ dobin ${S}/Tools/repebay ${S}/Tools/runrepebay ${S}/Tools/eBayAgent_Skript
+ doman ${S}/Tools/repebay.1 ${S}/Tools/runrepebay.1 ${S}/eBayAgent.1
+ newdoc ${S}/Tools/README_First.txt README_First_Tools.txt
+ newdoc ${S}/Tools/README.Debian README_Tools.Debian
+
+ # perl-tk (disable XeBayAgent.pl)
+ if ! use tcltk ; then
+ rm -rf ${D}/usr/bin/XeBayAgent
+ fi
+
+ # prepare manpages (prepallman won´t do that)
+ for mpage in $(find ${D} -name '*.1'|grep man);do
+ gzip $mpage
+ done
+
+ dodoc COPYING INSTALL
+ prepalldocs
+}