blob: b697ad2818e8ebec94a8c9163c0ebe7fe87e8999 (
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
50
51
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-misc/nt/nt-1.30.ebuild,v 1.5 2002/07/11 06:30:48 drobbins 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/"
KEYWORDS="x86"
LICENSE="nt"
SLOT="0"
DEPEND="virtual/glibc
virtual/x11
=x11-libs/gtk+-1.2*"
RDEPEND="virtual/glibc
virtual/x11
=x11-libs/gtk+-1.2*"
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
}
|