summaryrefslogtreecommitdiff
blob: 03e7ba44a3c50f768931dc42c5c3ae4993607ac3 (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
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ben Lutgens <lamer@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-misc/nt/nt-1.29-r1.ebuild,v 1.1 2001/10/06 10:08:19 azarah Exp $
S=${WORKDIR}/${P}

DESCRIPTION="GTK based download manager for X (Sorta like GetRight(tm) for doze, works well with galeon."
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
   try make DEST=${D}/usr D4X_SHARE=${D}/usr/share/nt install
	cd ${S}
	dodoc main/Changelog LICENSE THANKS FAQ* INSTALL* NAMES PLANS README* TODO TROUBLES
	doman nt.1
	insinto /usr/share/pixmaps
	doins *.png *.xpm
}