/[gentoo-x86]/net-misc/nt/nt-2.0.ebuild
Gentoo

Contents of /net-misc/nt/nt-2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Sep 1 01:04:01 2002 UTC (17 years, 3 months ago) by azarah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
new version

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/nt/nt-2.0.ebuild,v 1.8 2002/08/14 12:08:08 murphy Exp $
4
5 #name of tarball changed
6 MY_P="${P/nt/d4x}"
7 #handle release candidates
8 MY_P="${MY_P/_rc/RC}"
9 S="${WORKDIR}/${MY_P}"
10 DESCRIPTION="GTK based download manager for X."
11 SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${MY_P}.tar.gz"
12 HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
13 KEYWORDS="x86 sparc sparc64"
14 LICENSE="nt"
15
16 DEPEND="=x11-libs/gtk+-1.2*
17 >=dev-libs/glib-1.2.10
18 >=media-libs/gdk-pixbuf-0.2.5
19 esd? ( >=media-sound/esound-0.2.7 )"
20
21 SLOT="0"
22
23
24 src_unpack() {
25
26 unpack ${A}
27
28 # Use our own $CXXFLAGS
29 cd ${S}
30 cp configure configure.orig
31 sed -e "s:CXXFLAGS=\"-O2\":CXXFLAGS=\"${CXXFLAGS}\":g" \
32 configure.orig >configure
33
34 patch -p1 <${FILESDIR}/nt-2.0-gcc31.patch || die
35 }
36
37 src_compile() {
38
39 myconf=""
40 use nls || myconf="${myconf} --disable-nls"
41 use esd || myconf="${myconf} --disable-esd"
42 use oss || myconf="${myconf} --disable-oss"
43
44 ./configure --host=${HOST} \
45 --prefix=/usr \
46 --mandir=/usr/share/man \
47 --infodir=/usr/share/info \
48 --enable-release \
49 ${myconf} || die
50
51 emake || die
52 }
53
54 src_install () {
55
56 dodir /usr/bin
57 dodir /usr/share/d4x
58
59 make prefix=${D}/usr \
60 mandir=${D}/usr/share/man \
61 infodir=${D}/usr/share/info \
62 install || die
63
64 dodoc AUTHORS COPYING ChangeLog* NEWS PLANS README TODO
65 cd ${S}/DOC
66 dodoc FAQ* LICENSE NAMES TROUBLES THANKS
67
68 cd ${S}
69 insinto /usr/share/pixmaps
70 doins *.png *.xpm
71
72 if [ "`use gnome`" ] ; then
73 insinto /usr/share/gnome/apps/Internet
74 doins nt.desktop
75 fi
76 }
77

  ViewVC Help
Powered by ViewVC 1.1.20