Version bump.
authorMarkus Nigbur <pyrania@gentoo.org>
Sun, 5 Dec 2004 15:54:36 +0000 (15:54 +0000)
committerMarkus Nigbur <pyrania@gentoo.org>
Sun, 5 Dec 2004 15:54:36 +0000 (15:54 +0000)
net-misc/d4x/ChangeLog
net-misc/d4x/d4x-2.5.0.ebuild [new file with mode: 0644]
net-misc/d4x/files/digest-d4x-2.5.0 [new file with mode: 0644]

index da84ef0c673f2bcb2179f1115feb36bf0648ab0a..fe06c1334731e60ea41f49222754bf97519b389c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/d4x
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.24 2004/10/05 23:52:34 malc Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.25 2004/12/05 15:54:36 pyrania Exp $
+
+*d4x-2.5.0 (05 Dec 2004)
+
+  05 Dec 2004; Markus Nigbur <pyrania@gentoo.org> +d4x-2.5.0.ebuild:
+  Version bump.
 
   05 Oct 2004; Malcolm Lashley <malc@gentoo.org> d4x-2.5.0_rc4.ebuild:
   ~amd64 - bug #66462
diff --git a/net-misc/d4x/d4x-2.5.0.ebuild b/net-misc/d4x/d4x-2.5.0.ebuild
new file mode 100644 (file)
index 0000000..3ab6141
--- /dev/null
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.5.0.ebuild,v 1.1 2004/12/05 15:54:36 pyrania Exp $
+
+IUSE="nls esd gnome oss kde"
+
+inherit eutils
+
+S="${WORKDIR}/${P}final"
+DESCRIPTION="GTK based download manager for X."
+SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${P}final.tar.gz"
+HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="Artistic"
+
+DEPEND=">=x11-libs/gtk+-2.0.6
+       >=dev-libs/glib-2.0.6
+       >=sys-devel/gettext-0.11.2
+       esd? ( >=media-sound/esound-0.2.7 )"
+
+src_unpack() {
+       unpack ${A}
+
+       # Use our own $CXXFLAGS
+       cd ${S}
+       cp configure configure.orig
+       sed -e "s:CXXFLAGS=\"-O2\":CXXFLAGS=\"${CXXFLAGS}\":g;s:OPTFLAGS=\"-O2\":OPTFLAGS=\"\":g" \
+               configure.orig >configure
+}
+
+src_compile() {
+
+       myconf=""
+
+       use nls \
+               && myconf="${myconf} --enable-nls" \
+               || myconf="${myconf} --disable-nls"
+
+       use esd \
+               && myconf="${myconf} --enable-esd" \
+               || myconf="${myconf} --disable-esd"
+
+       use oss \
+               && myconf="${myconf} --enable-oss" \
+               || myconf="${myconf} --disable-oss"
+
+       econf --enable-release \
+               ${myconf} || die
+
+       emake || die
+}
+
+src_install () {
+
+       dodir /usr/bin
+       dodir /usr/share/d4x
+
+       einstall || die
+
+       insinto /usr/share/pixmaps
+       doins share/*.png share/*.xpm
+
+       if use kde
+       then
+               insinto /usr/share/applnk/Internet
+               newins share/nt.desktop d4x.desktop
+       fi
+
+       if use gnome
+       then
+               echo "Categories=Application;Network;" >> ${S}/share/nt.desktop
+               insinto /usr/share/applications
+               newins share/nt.desktop d4x.desktop
+       fi
+
+       rm -rf ${D}/usr/share/d4x/{FAQ*,INSTALL*,README*,LICENSE,NAMES,TROUBLES}
+       dodoc AUTHORS COPYING ChangeLog* NEWS PLANS TODO \
+               DOC/{FAQ*,LICENSE,NAMES,README*,TROUBLES,THANKS}
+}
diff --git a/net-misc/d4x/files/digest-d4x-2.5.0 b/net-misc/d4x/files/digest-d4x-2.5.0
new file mode 100644 (file)
index 0000000..3361a17
--- /dev/null
@@ -0,0 +1 @@
+MD5 c2b2f5571c2028dd845563e69a1d55c3 d4x-2.5.0final.tar.gz 1766770