/[gentoo-x86]/net-misc/d4x/d4x-2.4_beta.ebuild
Gentoo

Contents of /net-misc/d4x/d4x-2.4_beta.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Mar 30 17:46:30 2003 UTC (16 years, 8 months ago) by azarah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
fix miscompile

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4_beta.ebuild,v 1.4 2003/02/28 16:55:00 liquidx Exp $
4
5 IUSE="nls esd gnome oss"
6
7 S="${WORKDIR}/${P/_}"
8 DESCRIPTION="GTK based download manager for X."
9 SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${P/_}.tar.gz"
10 HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
11
12 # Currently seems to be pretty borked
13 KEYWORDS="-x86 -ppc -sparc -alpha"
14 SLOT="0"
15 LICENSE="Artistic"
16
17 DEPEND=">=x11-libs/gtk+-2.0
18 >=dev-libs/glib-2.0
19 esd? ( >=media-sound/esound-0.2.7 )"
20
21
22 src_unpack() {
23
24 unpack ${A}
25
26 # Use our own $CXXFLAGS
27 cd ${S}
28 cp configure configure.orig
29 sed -e "s:CXXFLAGS=\"-O2\":CXXFLAGS=\"${CXXFLAGS}\":g" \
30 configure.orig >configure
31 }
32
33 src_compile() {
34
35 myconf=""
36
37 use nls \
38 && myconf="${myconf} --enable-nls" \
39 || myconf="${myconf} --disable-nls"
40
41 use esd \
42 && myconf="${myconf} --enable-esd" \
43 || myconf="${myconf} --disable-esd"
44
45 use oss \
46 && myconf="${myconf} --enable-oss" \
47 || myconf="${myconf} --disable-oss"
48
49 econf --enable-release \
50 ${myconf} || die
51
52 emake || die
53 }
54
55 src_install () {
56
57 dodir /usr/bin
58 dodir /usr/share/d4x
59
60 einstall || die
61
62 insinto /usr/share/pixmaps
63 doins *.png *.xpm
64
65 if [ -n "`use gnome`" ]
66 then
67 insinto /usr/share/gnome/apps/Internet
68 newins nt.desktop d4x.desktop
69 fi
70
71 rm -rf ${D}/usr/share/d4x/{FAQ*,INSTALL*,README*,LICENSE,NAMES,TROUBLES}
72 dodoc AUTHORS COPYING ChangeLog* NEWS PLANS TODO \
73 DOC/{FAQ*,LICENSE,NAMES,README*,TROUBLES,THANKS}
74 }
75

  ViewVC Help
Powered by ViewVC 1.1.20