summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-03-08 20:28:12 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-03-08 20:28:12 +0000
commitf3862aaaaaab6418cb5c780243c90ebe074af879 (patch)
treea14fac9abf9c6e6dda2548154df8466b6d03effd /net-misc
parentUnmask (diff)
downloadgentoo-2-f3862aaaaaab6418cb5c780243c90ebe074af879.tar.gz
gentoo-2-f3862aaaaaab6418cb5c780243c90ebe074af879.tar.bz2
gentoo-2-f3862aaaaaab6418cb5c780243c90ebe074af879.zip
version bump and cleansing ebuild
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/d4x/ChangeLog7
-rw-r--r--net-misc/d4x/d4x-2.4.1.ebuild74
-rw-r--r--net-misc/d4x/files/digest-d4x-2.4.11
3 files changed, 81 insertions, 1 deletions
diff --git a/net-misc/d4x/ChangeLog b/net-misc/d4x/ChangeLog
index 13e30e1ffa1c..9ef88d53d65e 100644
--- a/net-misc/d4x/ChangeLog
+++ b/net-misc/d4x/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/d4x
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.6 2003/02/12 08:20:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.7 2003/03/08 20:28:12 liquidx Exp $
+
+*d4x-2.4.1 (08 Mar 2003)
+
+ 08 Mar 2003; Alastair Tse <liquidx@gentoo.org> d4x-2.4.1.ebuild:
+ Version Bump. Marked as unstable. Fixes #17023.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/net-misc/d4x/d4x-2.4.1.ebuild b/net-misc/d4x/d4x-2.4.1.ebuild
new file mode 100644
index 000000000000..bb9032165d97
--- /dev/null
+++ b/net-misc/d4x/d4x-2.4.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1.ebuild,v 1.1 2003/03/08 20:28:12 liquidx Exp $
+
+IUSE="nls esd gnome oss"
+
+S="${WORKDIR}/${P/_}"
+DESCRIPTION="GTK based download manager for X."
+SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${P/_}.tar.gz"
+HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
+
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="Artistic"
+
+DEPEND=">=x11-libs/gtk+-2.0.6
+ >=dev-libs/glib-2.0.6
+ 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 [ -n "`use gnome`" ]
+ then
+ insinto /usr/share/gnome/apps/Internet
+ 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.4.1 b/net-misc/d4x/files/digest-d4x-2.4.1
new file mode 100644
index 000000000000..e611f2b3faa4
--- /dev/null
+++ b/net-misc/d4x/files/digest-d4x-2.4.1
@@ -0,0 +1 @@
+MD5 9ff1521a6c7ecedb6d71f1e1a6a6696a d4x-2.4.1.tar.gz 1390726