From 2863d5576ef4d6baf7252c64a51bd9893e35a747 Mon Sep 17 00:00:00 2001 From: Jon Hood Date: Sat, 1 May 2004 05:47:50 +0000 Subject: Initial commit. Closes #45890. --- net-p2p/sancho-bin/ChangeLog | 11 +++++ net-p2p/sancho-bin/Manifest | 5 +++ net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.3 | 2 + net-p2p/sancho-bin/files/sancho.sh | 3 ++ net-p2p/sancho-bin/metadata.xml | 5 +++ net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild | 49 ++++++++++++++++++++++ 6 files changed, 75 insertions(+) create mode 100644 net-p2p/sancho-bin/ChangeLog create mode 100644 net-p2p/sancho-bin/Manifest create mode 100644 net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.3 create mode 100644 net-p2p/sancho-bin/files/sancho.sh create mode 100644 net-p2p/sancho-bin/metadata.xml create mode 100644 net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild (limited to 'net-p2p/sancho-bin') diff --git a/net-p2p/sancho-bin/ChangeLog b/net-p2p/sancho-bin/ChangeLog new file mode 100644 index 000000000000..8f214ca90c7c --- /dev/null +++ b/net-p2p/sancho-bin/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-p2p/sancho-bin +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/ChangeLog,v 1.1 2004/05/01 05:47:50 squinky86 Exp $ + +*sancho-bin-0.9.4.3 (01 May 2004) + + 01 May 2004; Jon Hood +metadata.xml, + +files/sancho.sh, +sancho-bin-0.9.4.3.ebuild: + Initial commit. Closes #45890. Thanks to Daniel Haus + for the original ebuild. + diff --git a/net-p2p/sancho-bin/Manifest b/net-p2p/sancho-bin/Manifest new file mode 100644 index 000000000000..4bee3b5ee2c8 --- /dev/null +++ b/net-p2p/sancho-bin/Manifest @@ -0,0 +1,5 @@ +MD5 1c34089c9e48349d6044f054763ac0c7 sancho-bin-0.9.4.3.ebuild 1239 +MD5 b1f6c66b4170ad5b0416c5ac7d883f55 ChangeLog 473 +MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 +MD5 b2dae76ca9aba0979e4edf878582a74a files/sancho.sh 40 +MD5 c5112601a616409f11ee0b575f2ba617 files/digest-sancho-bin-0.9.4.3 156 diff --git a/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.3 b/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.3 new file mode 100644 index 000000000000..2d4946cf5a89 --- /dev/null +++ b/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.3 @@ -0,0 +1,2 @@ +MD5 b58b3991cfb848f2a7c4a13c1e5eb093 sancho-0.9.4-3-linux-gtk.tar.bz2 4814219 +MD5 d93327091e7d9088780be7819b4e3ad3 sancho-0.9.4-3-linux-fox.tar.bz2 5071565 diff --git a/net-p2p/sancho-bin/files/sancho.sh b/net-p2p/sancho-bin/files/sancho.sh new file mode 100644 index 000000000000..db48acfe0bcc --- /dev/null +++ b/net-p2p/sancho-bin/files/sancho.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd /opt/sancho +./sancho-bin diff --git a/net-p2p/sancho-bin/metadata.xml b/net-p2p/sancho-bin/metadata.xml new file mode 100644 index 000000000000..aa0f3664825f --- /dev/null +++ b/net-p2p/sancho-bin/metadata.xml @@ -0,0 +1,5 @@ + + + +net-p2p + diff --git a/net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild b/net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild new file mode 100644 index 000000000000..222b1cca29ea --- /dev/null +++ b/net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild,v 1.1 2004/05/01 05:47:50 squinky86 Exp $ + +IUSE="gtk2" + +DESCRIPTION="Sancho - a powerful frontend for mldonkey" +SRC_URI="gtk2? ( http://sancho-gui.sourceforge.net/tmp/${PN/-bin/}-${PV/.3/-3}-linux-gtk.tar.bz2 ) + !gtk2? ( http://sancho-gui.sourceforge.net/tmp/${PN/-bin/}-${PV/.3/-3}-linux-fox.tar.bz2 )" +HOMEPAGE="http://sancho-gui.sourceforge.net/" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="CPL-1.0 LGPL-2.1" +RESTRICT="nomirror" + +DEPEND="virtual/glibc + gtk2? ( >=x11-libs/gtk+-2 )" + +use gtk2 && TOOLKIT="gtk" || TOOLKIT="fox" +S="${WORKDIR}/${PN/-bin/}-${PV/.3/-3}-linux-${TOOLKIT}" + +src_compile() { + einfo "Nothing to compile." +} + +src_install() { + dodir /opt/sancho + dodir /opt/bin + + cd ${S} + cp -dpR sancho distrib lib ${D}/opt/sancho + + exeinto /opt/sancho + doexe sancho-bin + + exeinto /opt/bin + newexe ${FILESDIR}/sancho.sh sancho + + dodir /etc/env.d + echo -e "PATH=/opt/sancho\n" > ${D}/etc/env.d/20sancho +} + +pkg_postinst() { + einfo + einfo "Sancho requires the presence of a p2p core, like" + einfo "net-p2p/mldonkey, in order to operate." + einfo +} -- cgit v1.2.3-65-gdbad