/[gentoo-x86]/net-misc/gtm/gtm-0.4.11-r1.ebuild
Gentoo

Contents of /net-misc/gtm/gtm-0.4.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Aug 19 16:49:11 2002 UTC (17 years, 3 months ago) by stroke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
New version, fixed dependencies list, removed patch wget-log.c.patch which is no longer actual. Closes bug #6497

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/gtm/gtm-0.4.11-r1.ebuild,v 1.4 2002/08/14 12:08:07 murphy Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="GTM - a transfer manager"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8 HOMEPAGE="http://gtm.sourceforge.net/"
9 SLOT="0"
10 LICENSE="GPL-2"
11 KEYWORDS="x86 sparc sparc64"
12
13 DEPEND="virtual/glibc
14 virtual/x11
15 x11-libs/gtk+
16 gnome-base/oaf
17 gnome-base/gnome-core
18 gnome-base/gnome-libs
19 gnome? ( gnome-base/gnome-applets )
20 ssl? ( dev-libs/openssl )"
21
22 RDEPEND="virtual/glibc
23 virtual/x11
24 net-misc/wget
25 >=gnome-base/gnome-libs-1.4.0.2
26 >=gnome-base/ORBit-0.5.11"
27
28
29 src_unpack() {
30
31 unpack ${A}
32
33 for lang in C pt
34 do
35 cp ${S}/doc/${lang}/Makefile.in ${S}/doc/${lang}/Makefile.in.orig
36 sed -e 's: \$(gtm_helpdir): \$(DESTDIR)$(gtm_helpdir):g' \
37 ${S}/doc/${lang}/Makefile.in.orig \
38 >${S}/doc/${lang}/Makefile.in
39 done
40
41 patch -p0 < ${FILESDIR}/wget-log.c.patch
42 }
43
44 src_compile() {
45
46 local myconf
47 use nls || myconf="--disable-nls"
48 use gnome || myconf="${myconf} --disable-applet"
49 use gnome && myconf="${myconf} --enable-applet"
50 use ssl || myconf="${myconf} --disable-ssl"
51 use ssl && myconf="${myconf} --enable-ssl"
52
53 ./configure --host=${CHOST} \
54 --prefix=/usr \
55 --mandir=/usr/share/man \
56 --infodir=/usr/share/info \
57 --localstatedir=/var/lib \
58 --sysconfdir=/etc \
59 --without-debug \
60 $myconf || die
61
62 emake || die
63 }
64
65 src_install() {
66
67 make DESTDIR=${D} install || die
68 }
69

  ViewVC Help
Powered by ViewVC 1.1.20