summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2007-10-31 19:46:39 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2007-10-31 19:46:39 +0000
commitc7f42312c2bfb4873fc7980b5b94939b00b587b8 (patch)
tree055ef85fa0b96253bb4654b3d3b27e23b90e98c5 /net-p2p/sancho-bin
parentStable on x86, bug #197609 (diff)
downloadgentoo-2-c7f42312c2bfb4873fc7980b5b94939b00b587b8.tar.gz
gentoo-2-c7f42312c2bfb4873fc7980b5b94939b00b587b8.tar.bz2
gentoo-2-c7f42312c2bfb4873fc7980b5b94939b00b587b8.zip
java USE flag added #177519 thanks to Federico Moro <zayer@frikis.org>. Clarify postinst message and use elog. Remove env.d entry.
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-p2p/sancho-bin')
-rw-r--r--net-p2p/sancho-bin/ChangeLog10
-rw-r--r--net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58-r19
-rw-r--r--net-p2p/sancho-bin/sancho-bin-0.9.4.58-r1.ebuild67
-rw-r--r--net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild10
4 files changed, 90 insertions, 6 deletions
diff --git a/net-p2p/sancho-bin/ChangeLog b/net-p2p/sancho-bin/ChangeLog
index b532bb666c50..c5cd7dce6905 100644
--- a/net-p2p/sancho-bin/ChangeLog
+++ b/net-p2p/sancho-bin/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-p2p/sancho-bin
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/ChangeLog,v 1.42 2007/05/07 18:30:09 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/ChangeLog,v 1.43 2007/10/31 19:46:39 coldwind Exp $
+
+*sancho-bin-0.9.4.58-r1 (31 Oct 2007)
+
+ 31 Oct 2007; Santiago M. Mola <coldwind@gentoo.org>
+ sancho-bin-0.9.4.58.ebuild, +sancho-bin-0.9.4.58-r1.ebuild:
+ java USE flag added #177519 thanks to Federico Moro <zayer@frikis.org>.
+ Clarify postinst message and use elog.
+ Remove env.d entry.
07 May 2007; Raúl Porcel <armin76@gentoo.org> sancho-bin-0.9.4.58.ebuild:
Remove unneeded deps, bug 177529
diff --git a/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58-r1 b/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58-r1
new file mode 100644
index 000000000000..fa4effc2d640
--- /dev/null
+++ b/net-p2p/sancho-bin/files/digest-sancho-bin-0.9.4.58-r1
@@ -0,0 +1,9 @@
+MD5 ee81d1ce75f879445c42a08df3b15033 sancho-0.9.4-58-linux-gtk-java.sh 3406117
+RMD160 7e2b5ab1d07e46c147a19b62845aaa8f48d517d6 sancho-0.9.4-58-linux-gtk-java.sh 3406117
+SHA256 e92d5c2793c7efd18dfd0dea13ac4cb637c4554c17cf1eb068c9c21486638456 sancho-0.9.4-58-linux-gtk-java.sh 3406117
+MD5 217b62f4e8a83e30e85733febcf5b70e sancho-0.9.4-58-linux-gtk-x86_64-java.sh 3468974
+RMD160 5aefd2cd2ef548e1453cfb52f9905866922f4924 sancho-0.9.4-58-linux-gtk-x86_64-java.sh 3468974
+SHA256 26b5267f8880b33101535bf05395261f8a340b4161386ab5181617093c5c50bd sancho-0.9.4-58-linux-gtk-x86_64-java.sh 3468974
+MD5 c2d79236e10162a201e49080571a6a0d sancho-0.9.4-58-linux-gtk.sh 5517697
+RMD160 8dd49b9e9fbd726c197c0ac2d16ec05d8cd33dec sancho-0.9.4-58-linux-gtk.sh 5517697
+SHA256 0264739aff3cc8d5c01d695bd26d2fdfe248d121d46ad8911964a84ddf151c0f sancho-0.9.4-58-linux-gtk.sh 5517697
diff --git a/net-p2p/sancho-bin/sancho-bin-0.9.4.58-r1.ebuild b/net-p2p/sancho-bin/sancho-bin-0.9.4.58-r1.ebuild
new file mode 100644
index 000000000000..c2455af4d298
--- /dev/null
+++ b/net-p2p/sancho-bin/sancho-bin-0.9.4.58-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# 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.58-r1.ebuild,v 1.1 2007/10/31 19:46:39 coldwind Exp $
+
+inherit eutils
+
+MY_P=${P/-bin/}
+MY_P=${MY_P%.*}-${MY_P##*.}
+
+DESCRIPTION="a powerful frontend for mldonkey"
+HOMEPAGE="http://sancho-gui.sourceforge.net/"
+SRC_URI="
+ amd64? ( java? ( mirror://gentoo/${MY_P}-linux-gtk-x86_64-java.sh )
+ !java? ( mirror://gentoo/${MY_P}-linux-gtk.sh ) )
+ x86? ( java? ( mirror://gentoo/${MY_P}-linux-gtk-java.sh )
+ !java? ( mirror://gentoo/${MY_P}-linux-gtk.sh ) )
+"
+# ppc? ( mirror://gentoo/${MY_P}-linux-gtk-ppc-java.sh )
+
+RESTRICT="strip"
+
+# In order to keyword ~ppc, 'java' should be package.use.force'd
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="CPL-1.0 LGPL-2.1"
+IUSE=""
+
+DEPEND="x11-libs/libXxf86vm
+ x11-libs/libXext
+ x11-libs/libX11
+ >=x11-libs/gtk+-2
+ amd64? ( !java? ( >=app-emulation/emul-linux-x86-baselibs-1.0
+ >=app-emulation/emul-linux-x86-gtklibs-1.0 ) )
+ java? ( >=virtual/jre-1.5 )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ dodir /opt/sancho
+ dodir /opt/bin
+
+ cd "${S}"
+ cp -dpR sancho distrib lib ${D}/opt/sancho
+
+ exeinto /opt/sancho
+ newexe sancho sancho-bin
+
+ exeinto /opt/bin
+ newexe ${FILESDIR}/sancho.sh sancho
+
+ insinto /etc/revdep-rebuild
+ doins ${FILESDIR}/50-${PN}
+
+ make_desktop_entry sancho sancho /opt/sancho/distrib/sancho-32.xpm
+}
+
+pkg_postinst() {
+ elog
+ elog "Sancho requires the presence of a p2p core, like"
+ elog "net-p2p/mldonkey, in order to operate. This core"
+ elog "may be in other machine of your network."
+ elog
+}
diff --git a/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild b/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild
index 51ed9f9e2a48..8c69a9e9cc4f 100644
--- a/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild
+++ b/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# 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.58.ebuild,v 1.6 2007/07/13 05:52:07 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/sancho-bin/sancho-bin-0.9.4.58.ebuild,v 1.7 2007/10/31 19:46:39 coldwind Exp $
inherit eutils
@@ -59,8 +59,8 @@ src_install() {
}
pkg_postinst() {
- einfo
- einfo "Sancho requires the presence of a p2p core, like"
- einfo "net-p2p/mldonkey, in order to operate."
- einfo
+ elog
+ elog "Sancho requires the presence of a p2p core, like"
+ elog "net-p2p/mldonkey, in order to operate."
+ elog
}