/[gentoo-x86]/net-p2p/dc-gui/dc-gui-0.80.ebuild
Gentoo

Contents of /net-p2p/dc-gui/dc-gui-0.80.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Jul 1 14:04:12 2006 UTC (13 years, 4 months ago) by antarus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
punt dc-gui for bug # 134630

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/dc-gui/dc-gui-0.80.ebuild,v 1.8 2005/08/26 11:05:41 sekretarz Exp $
4
5 MY_P=${PN/-/_}2-${PV}
6 DESCRIPTION="GUI for dctc"
7 HOMEPAGE="http://brainz.servebeer.com/dctc/"
8 SRC_URI="http://brainz.servebeer.com/dctc/${MY_P}.tar.gz"
9
10 LICENSE="GPL-2"
11 SLOT="2"
12 KEYWORDS="x86 ppc ~sparc ~amd64"
13 IUSE="nls curl"
14
15 DEPEND="=dev-libs/glib-2*
16 =x11-libs/gtk+-2*
17 =gnome-base/libgnomeui-2*
18 >=sys-libs/db-3.2
19 >=net-p2p/dctc-0.85.9
20 curl? ( net-misc/curl )"
21 RDEPEND="${DEPEND}
22 nls? ( sys-devel/gettext )"
23
24 S=${WORKDIR}/${MY_P}
25
26 src_unpack() {
27 unpack ${A}
28 cd ${S}
29
30 # fix for #26708 (db4 support)
31 local dbfunc="`grep '^#define.*db_env_create' /usr/include/db.h | awk '{print $NF}'`"
32 if [ "${dbfunc}" != "db_env_create" ] ; then
33 sed -i "s:db_env_create:${dbfunc}:g" configure
34 fi
35
36 if ! use curl ; then
37 cd dc_gui2_bt
38 sed -i 's:AC_CHECK_PROG(curl_installed.*::' configure.in
39 autoconf
40 cd ..
41 fi
42
43 cd src
44 cp ${FILESDIR}/split_interface_fast.pl .
45 perl split_interface_fast.pl || die "could not split interface up"
46 }
47
48 src_compile() {
49 econf `use_enable nls` || die
50 emake || die
51 }
52
53 src_install() {
54 make DESTDIR=${D} install || die
55 use nls || rm -rf ${D}/usr/share/locale
56 dodoc AUTHORS ChangeLog NEWS README TODO
57 }

  ViewVC Help
Powered by ViewVC 1.1.20