1 |
# Copyright 1999-2001 Gentoo Technologies, Inc. |
2 |
# Distributed under the terms of the GNU General Public License, v2 or later |
3 |
# Author Ben Lutgens <lamer@gentoo.org> |
4 |
# $Header: /home/cvsroot/gentoo-x86/net-misc/nt/nt-1.29-r1.ebuild,v 1.3 2002/05/23 06:50:18 seemant Exp $ |
5 |
|
6 |
S=${WORKDIR}/${P} |
7 |
DESCRIPTION="GTK based download manager for X (Sorta like GetRight(tm) for doze, works well with galeon." |
8 |
SRC_URI="http://www.krasu.ru/soft/chuchelo/files/${P}.tar.gz" |
9 |
HOMEPAGE="http://www.krasu.ru/soft/chuchelo/" |
10 |
|
11 |
DEPEND="virtual/glibc |
12 |
virtual/x11 |
13 |
=x11-libs/gtk+-1.2*" |
14 |
|
15 |
RDEPEND="virtual/glibc |
16 |
virtual/x11 |
17 |
=x11-libs/gtk+-1.2*" |
18 |
|
19 |
|
20 |
src_compile() { |
21 |
|
22 |
# This upstream developer does things a little strangely |
23 |
cd ${S}/main |
24 |
emake DEST=/usr D4X_SHARE=/usr/share/nt || die |
25 |
} |
26 |
|
27 |
src_install () { |
28 |
|
29 |
# Note to self and other developers: create directories in install targets of Makefiles.... |
30 |
dodir /usr/bin |
31 |
dodir /usr/share/nt |
32 |
|
33 |
cd ${S}/main |
34 |
make DEST=${D}/usr D4X_SHARE=${D}/usr/share/nt install || die |
35 |
|
36 |
cd ${S} |
37 |
dodoc main/Changelog LICENSE THANKS FAQ* INSTALL* NAMES PLANS README* TODO TROUBLES |
38 |
|
39 |
doman nt.1 |
40 |
|
41 |
insinto /usr/share/pixmaps |
42 |
doins *.png *.xpm |
43 |
} |
44 |
|