/[gentoo-x86]/net-libs/phodav/phodav-0.4.ebuild
Gentoo

Contents of /net-libs/phodav/phodav-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Jul 15 18:10:26 2015 UTC (5 years, 4 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -2 lines
x86 stable wrt bug #554426

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/phodav/phodav-0.4.ebuild,v 1.11 2015/07/15 17:43:57 klausman Exp $
4
5 EAPI=5
6
7 GCONF_DEBUG="no"
8 GNOME2_LA_PUNT="yes"
9
10 inherit gnome2 systemd udev
11
12 DESCRIPTION="WebDav server implementation using libsoup"
13 HOMEPAGE="https://wiki.gnome.org/phodav"
14
15 LICENSE="LGPL-2.1+"
16 SLOT="1.0"
17 KEYWORDS="alpha amd64 arm ppc ppc64 x86"
18 IUSE="avahi spice systemd"
19
20 RDEPEND="
21 dev-libs/glib:2
22 net-libs/libsoup:2.4
23 dev-libs/libxml2
24 avahi? ( net-dns/avahi )"
25 DEPEND="${RDEPEND}
26 >=dev-util/intltool-0.40.0
27 >=dev-util/gtk-doc-am-1.10
28 sys-devel/gettext
29 virtual/pkgconfig"
30
31 src_configure() {
32 gnome2_src_configure \
33 --disable-static \
34 $(use_with avahi) \
35 --with-udevdir=$(get_udevdir) \
36 --with-systemdsystemunitdir=$(systemd_get_unitdir)
37
38 if ! use avahi ; then
39 sed -i -e 's|avahi-daemon.service||' data/spice-webdavd.service || die
40 fi
41 }
42
43 src_install() {
44 gnome2_src_install
45
46 if use spice ; then
47 if ! use systemd ; then
48 newinitd "${FILESDIR}/spice-webdavd.initd" spice-webdavd
49 udev_dorules "${FILESDIR}/70-spice-webdavd.rules"
50 rm -r "${D}$(systemd_get_unitdir)" || die
51 fi
52 else
53 rm -r "${D}"{/usr/sbin,$(get_udevdir),$(systemd_get_unitdir)} || die
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20