diff options
Diffstat (limited to 'net-misc/d4x')
-rw-r--r-- | net-misc/d4x/Manifest | 5 | ||||
-rw-r--r-- | net-misc/d4x/d4x-2.5.0_beta2.ebuild | 87 | ||||
-rw-r--r-- | net-misc/d4x/files/digest-d4x-2.5.0_beta2 | 1 | ||||
-rw-r--r-- | net-misc/d4x/metadata.xml | 6 |
4 files changed, 97 insertions, 2 deletions
diff --git a/net-misc/d4x/Manifest b/net-misc/d4x/Manifest index c4041005bd05..db324766a001 100644 --- a/net-misc/d4x/Manifest +++ b/net-misc/d4x/Manifest @@ -1,8 +1,9 @@ -MD5 a18d7696222b6216688019215759b91f ChangeLog 2522 +MD5 253d8a4ed77c60c845fc79aebfde3ff1 ChangeLog 2732 MD5 491be47d7247b8f16b9b1f40d8132b60 d4x-2.03.ebuild 1551 MD5 bbb0354b0806609bc5867e354c339246 d4x-2.4.1-r1.ebuild 1943 MD5 9ba91f444d5a830bcd8e7bd8c21ba0f8 d4x-2.4.1.ebuild 1783 -MD5 d7bccf460fdbbc094957431db9e7b948 d4x-2.5.0_beta2.ebuild 1952 +MD5 fd8f811afcc50038d5db6587ec216fb8 d4x-2.5.0_beta2.ebuild 1957 +MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219 MD5 07dde74dfe302bab95327f285a5a16ba files/d4x-2.4.1-fix-statusbar-crash.patch 772 MD5 724445bfed12d4bafd7bb97eef1d669c files/digest-d4x-2.03 61 MD5 3e8783cc051415a9ee4f756fcc45c925 files/digest-d4x-2.4.1 62 diff --git a/net-misc/d4x/d4x-2.5.0_beta2.ebuild b/net-misc/d4x/d4x-2.5.0_beta2.ebuild new file mode 100644 index 000000000000..4335f7392f06 --- /dev/null +++ b/net-misc/d4x/d4x-2.5.0_beta2.ebuild @@ -0,0 +1,87 @@ +# 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.5.0_beta2.ebuild,v 1.1 2003/08/31 14:54:23 liquidx Exp $ + +IUSE="nls esd gnome oss kde" + +inherit eutils + +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 + >=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 + + # Fix a miscompile with gcc-3.2.2 and CFLAGS="-O2" + # <azarah@gentoo.org> (30 Mar 2003) + epatch ${FILESDIR}/${PN}-2.4.1-fix-statusbar-crash.patch +} + +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 kde`" ] + then + insinto /usr/share/applnk/Internet + newins share/nt.desktop d4x.desktop + fi + + if [ -n "`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_beta2 b/net-misc/d4x/files/digest-d4x-2.5.0_beta2 new file mode 100644 index 000000000000..d9f1b074d412 --- /dev/null +++ b/net-misc/d4x/files/digest-d4x-2.5.0_beta2 @@ -0,0 +1 @@ +MD5 3fa993748fee4e0066e09bb5ac2a12e3 d4x-2.5.0beta2.tar.gz 1451792 diff --git a/net-misc/d4x/metadata.xml b/net-misc/d4x/metadata.xml new file mode 100644 index 000000000000..76b9f6f406d5 --- /dev/null +++ b/net-misc/d4x/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>liquidx@gentoo.org</email></maintainer> +</pkgmetadata> |