/[gentoo-x86]/net-nds/gq/gq-1.0_beta1-r1.ebuild
Gentoo

Contents of /net-nds/gq/gq-1.0_beta1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Mar 26 06:18:24 2006 UTC (13 years, 10 months ago) by halcy0n
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removing unmaintained package; bug #99255

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-nds/gq/gq-1.0_beta1-r1.ebuild,v 1.4 2005/12/14 23:54:49 weeve Exp $
4
5 inherit eutils
6
7 S=${WORKDIR}/${PN}-${PV/_/}
8 DESCRIPTION="GTK-based LDAP client"
9
10 SRC_URI="mirror://sourceforge/gqclient/${PN}-${PV/_/}.tar.gz"
11 HOMEPAGE="http://www.biot.com/gq/"
12 IUSE="kerberos jpeg nls ssl"
13
14 SLOT="0"
15 LICENSE="GPL-2"
16 KEYWORDS="~amd64 ppc ~sparc ~x86"
17
18 RDEPEND=">=x11-libs/gtk+-2
19 >=net-nds/openldap-2
20 kerberos? ( app-crypt/mit-krb5 )
21 jpeg? ( media-libs/gdk-pixbuf )
22 ssl? ( dev-libs/openssl )
23 dev-libs/libxml2
24 dev-libs/glib
25 sys-devel/gettext
26 =dev-libs/atk-1*
27 x11-libs/pango
28 dev-libs/cyrus-sasl
29 virtual/libc"
30
31 DEPEND="${RDEPEND}
32 dev-util/pkgconfig
33 sys-apps/gawk
34 sys-devel/bison
35 sys-devel/gcc"
36
37 src_unpack() {
38 unpack ${A} || die
39 cd ${S} || die
40
41 # This patch, written by Luca Scamoni, is from
42 # http://sourceforge.net/tracker/index.php?func=detail&aid=1122365&group_id=3805&atid=103805
43 epatch "${FILESDIR}/util.c.diff"
44
45 # Fix timestamp skews
46 touch aclocal.m4 configure `find . -name Makefile.in`
47
48 if use amd64 ; then
49 rm config.sub config.guess
50 automake --add-missing --copy
51 fi
52 }
53
54 src_compile() {
55 local myconf="--enable-browser-dnd --enable-cache"
56
57 use nls \
58 && myconf="${myconf} --with-included-gettext" \
59 || myconf="${myconf} --disable-nls"
60
61 use kerberos && myconf="${myconf} --with-kerberos-prefix=/usr"
62
63 econf $myconf || die "./configure failed"
64
65 emake || die "Compilation failed"
66 }
67
68 src_install() {
69 emake DESTDIR=${D} install || die "Installation failed"
70 rm -f ${D}/usr/share/locale/locale.alias
71 dodoc ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO
72 }

  ViewVC Help
Powered by ViewVC 1.1.20