summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-05-01 05:47:50 +0000
committerJon Hood <squinky86@gentoo.org>2004-05-01 05:47:50 +0000
commit3cdf4af350596600e733efb863bf12ac4267621d (patch)
tree0f297875a2f5627f955896db50a2a3e26db03e45 /net-p2p/sancho-bin
parentremoving old maskings (diff)
downloadgentoo-2-3cdf4af350596600e733efb863bf12ac4267621d.tar.gz
gentoo-2-3cdf4af350596600e733efb863bf12ac4267621d.tar.bz2
gentoo-2-3cdf4af350596600e733efb863bf12ac4267621d.zip
Initial commit. Closes #45890.
Diffstat (limited to 'net-p2p/sancho-bin')
-rw-r--r--net-p2p/sancho-bin/ChangeLog11
-rw-r--r--net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.32
-rw-r--r--net-p2p/sancho-bin/files/sancho.sh3
-rw-r--r--net-p2p/sancho-bin/metadata.xml5
-rw-r--r--net-p2p/sancho-bin/sancho-bin-0.9.4.3.ebuild49
5 files changed, 70 insertions, 0 deletions
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 <squinky86@gentoo.org> +metadata.xml,
+ +files/sancho.sh, +sancho-bin-0.9.4.3.ebuild:
+ Initial commit. Closes #45890. Thanks to Daniel Haus <daniel.haus@ematia.de>
+ for the original ebuild.
+
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+</pkgmetadata>
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
+}