summaryrefslogtreecommitdiff
blob: b45861dee1b1b9b0907a4a2eb663a761578dccce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-misc/nt/nt-1.30.ebuild,v 1.2 2002/01/05 00:09:29 azarah Exp $

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/"

DEPEND="virtual/glibc
	virtual/x11
	>=x11-libs/gtk+-1.2.10-r4"

RDEPEND="virtual/glibc
	virtual/x11
	>=x11-libs/gtk+-1.2.10-r4"


src_compile() {

# This upstream developer does things a little strangely
	cd ${S}/main	
	emake DEST=/usr D4X_SHARE=/usr/share/nt || die
}

src_install () {

# Note to self and other developers: create directories in install targets of Makefiles....
	dodir /usr/bin
	dodir /usr/share/nt
	
	cd ${S}/main
	make DEST=${D}/usr D4X_SHARE=${D}/usr/share/nt install || die
   
	cd ${S}
	dodoc main/Changelog LICENSE THANKS FAQ* INSTALL* NAMES PLANS README* TODO TROUBLES
	
	doman nt.1
	
	insinto /usr/share/pixmaps
	doins *.png *.xpm

	if [ "`use gnome`" ] ; then
		insinto /usr/share/gnome/apps/Internet
		doins nt.desktop
	fi
}