OLD | NEW |
(Empty) | |
| 1 # Copyright 1999-2011 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-2.32.2.ebuild,v 1.9
2011/04/15 16:18:32 darkside Exp $ |
| 4 |
| 5 EAPI="3" |
| 6 GCONF_DEBUG="yes" |
| 7 |
| 8 inherit autotools eutils gnome2 |
| 9 |
| 10 DESCRIPTION="An HTTP library implementation in C" |
| 11 HOMEPAGE="http://live.gnome.org/LibSoup" |
| 12 |
| 13 LICENSE="LGPL-2" |
| 14 SLOT="2.4" |
| 15 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-
freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
~x86-solaris" |
| 16 IUSE="debug doc +introspection ssl test" |
| 17 |
| 18 RDEPEND=">=dev-libs/glib-2.21.3 |
| 19 >=dev-libs/libxml2-2 |
| 20 introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
| 21 ssl? ( >=net-libs/gnutls-2.1.7 )" |
| 22 DEPEND="${RDEPEND} |
| 23 >=dev-util/pkgconfig-0.9 |
| 24 >=dev-util/gtk-doc-am-1.10 |
| 25 doc? ( >=dev-util/gtk-doc-1.10 )" |
| 26 # test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modul
es_alias,apache2_modules_auth_basic, |
| 27 # apache2_modules_authn_file,apache2_modules_authz_host,apache2_mo
dules_authz_user,apache2_modules_dir, |
| 28 # apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy
_http,apache2_modules_proxy_connect] |
| 29 # dev-lang/php[apache2] |
| 30 # net-misc/curl )" |
| 31 |
| 32 pkg_setup() { |
| 33 # Set invalid apache module dir until apache tests are ready, bug #32695
7 |
| 34 DOCS="AUTHORS NEWS README" |
| 35 G2CONF="${G2CONF} |
| 36 --disable-static |
| 37 --without-gnome |
| 38 --with-apache-module-dir="${T}" |
| 39 $(use_enable introspection) |
| 40 $(use_enable ssl)" |
| 41 } |
| 42 |
| 43 src_configure() { |
| 44 # FIXME: we need addpredict to workaround bug #324779 until |
| 45 # root cause (bug #249496) is solved |
| 46 addpredict /usr/share/snmp/mibs/.index |
| 47 gnome2_src_configure |
| 48 } |
| 49 |
| 50 src_prepare() { |
| 51 gnome2_src_prepare |
| 52 |
| 53 if ! use test; then |
| 54 # don't waste time building tests (bug #226271) |
| 55 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefi
le.in \ |
| 56 || die "sed failed" |
| 57 fi |
| 58 |
| 59 # Patch *must* be applied conditionally (see patch for details) |
| 60 if use doc; then |
| 61 # Fix bug 268592 (upstream #573685) (build fails without gnome &
& doc) |
| 62 epatch "${FILESDIR}/${PN}-2.30.1-fix-build-without-gnome-with-do
c.patch" |
| 63 eautoreconf |
| 64 fi |
| 65 } |
OLD | NEW |