summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kryczek <mkay@gentoo.org>2005-09-26 14:32:29 +0000
committerMarcin Kryczek <mkay@gentoo.org>2005-09-26 14:32:29 +0000
commit8649111a0347555d604b1ecc0042f67970663d79 (patch)
tree112dfd7e1545f9b0cffef56a69dc92dab5708494 /net-p2p/ed2k_hash
parentAdding net-p2p/ed2k_hash:fltk (diff)
downloadhistorical-8649111a0347555d604b1ecc0042f67970663d79.tar.gz
historical-8649111a0347555d604b1ecc0042f67970663d79.tar.bz2
historical-8649111a0347555d604b1ecc0042f67970663d79.zip
Adding optional support for fltk GUI
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'net-p2p/ed2k_hash')
-rw-r--r--net-p2p/ed2k_hash/ChangeLog8
-rw-r--r--net-p2p/ed2k_hash/Manifest16
-rw-r--r--net-p2p/ed2k_hash/ed2k_hash-0.4.0-r1.ebuild38
-rw-r--r--net-p2p/ed2k_hash/files/digest-ed2k_hash-0.4.0-r11
4 files changed, 50 insertions, 13 deletions
diff --git a/net-p2p/ed2k_hash/ChangeLog b/net-p2p/ed2k_hash/ChangeLog
index 4274c251f74d..2db4a7690822 100644
--- a/net-p2p/ed2k_hash/ChangeLog
+++ b/net-p2p/ed2k_hash/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/ed2k_hash
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/ed2k_hash/ChangeLog,v 1.10 2005/09/07 14:31:05 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ed2k_hash/ChangeLog,v 1.11 2005/09/26 14:32:29 mkay Exp $
+
+*ed2k_hash-0.4.0-r1 (26 Sep 2005)
+
+ 26 Sep 2005; <mkay@gentoo.org> +ed2k_hash-0.4.0-r1.ebuild:
+ Adding optional support for fltk GUI. Thanks Flameeyes for bug #84993 and
+ nelchael for help
07 Sep 2005; <sekretarz@gentoo.org> ed2k_hash-0.4.0.ebuild:
Stable on amd64
diff --git a/net-p2p/ed2k_hash/Manifest b/net-p2p/ed2k_hash/Manifest
index 59401bd9ca0d..4470369f2a98 100644
--- a/net-p2p/ed2k_hash/Manifest
+++ b/net-p2p/ed2k_hash/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 78f7156213a6a15046b8ba44b69bb51d ChangeLog 1452
MD5 0b3ea12b2bc712eb77ec96019f4e55a0 ed2k_hash-0.4.0.ebuild 677
-MD5 8815209813d58c858e3b6e07c6175fac ChangeLog 1264
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
-MD5 6a36cd5e707bd0c09e7d8129e2f03c9e files/ed2k_64bit.patch 537
+MD5 e80f8c78e654c5d0bf4f827d6e5d74dd ed2k_hash-0.4.0-r1.ebuild 962
MD5 9362f41d0eead52766959dfcfe40dedd files/digest-ed2k_hash-0.4.0 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDHxYMZ/iYVBmujdURAls5AKC+1mvEC2Ktzm1M8ziwf4hatvleRgCfSfmn
-sp5cvO5AJQ1zfrk6rVSxKuc=
-=ux8N
------END PGP SIGNATURE-----
+MD5 6a36cd5e707bd0c09e7d8129e2f03c9e files/ed2k_64bit.patch 537
+MD5 9362f41d0eead52766959dfcfe40dedd files/digest-ed2k_hash-0.4.0-r1 67
diff --git a/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r1.ebuild b/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..8f4049d8c256
--- /dev/null
+++ b/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ed2k_hash/ed2k_hash-0.4.0-r1.ebuild,v 1.1 2005/09/26 14:32:29 mkay Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Tool for generating eDonkey2000 links"
+HOMEPAGE="http://ed2k-tools.sourceforge.net/${PN}.shtml"
+RESTRICT="nomirror"
+SRC_URI="mirror://sourceforge/ed2k-tools/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="fltk"
+DEPEND="fltk? ( x11-libs/fltk )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ epatch ${FILESDIR}/ed2k_64bit.patch
+}
+
+src_compile() {
+ if use fltk; then
+ append-ldflags "$(fltk-config --ldflags)"
+ export CPPFLAGS="$(fltk-config --cxxflags)"
+ else
+ export ac_cv_lib_fltk_main='no'
+ fi
+
+ econf --disable-dependency-tracking
+ emake
+}
+
+src_install() {
+ make install DESTDIR=${D} mydocdir=${D}/usr/share/doc/${PF}/html || die
+
+ dodoc AUTHORS COPYING INSTALL README TODO
+}
diff --git a/net-p2p/ed2k_hash/files/digest-ed2k_hash-0.4.0-r1 b/net-p2p/ed2k_hash/files/digest-ed2k_hash-0.4.0-r1
new file mode 100644
index 000000000000..21270c67ea8e
--- /dev/null
+++ b/net-p2p/ed2k_hash/files/digest-ed2k_hash-0.4.0-r1
@@ -0,0 +1 @@
+MD5 545d44d5e00078011f41a18e235f4af8 ed2k_hash-0.4.0.tar.gz 113158