/[gentoo-x86]/dev-libs/libverto/libverto-0.2.5.ebuild
Gentoo

Contents of /dev-libs/libverto/libverto-0.2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 19 16:51:59 2012 UTC (21 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Add ~ia64, wrt bug #412489

(Portage version: 2.1.11.31/cvs/Linux ia64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libverto/libverto-0.2.5.ebuild,v 1.2 2012/11/30 08:09:46 eras Exp $
4
5 EAPI=4
6
7 DESCRIPTION="Main event loop abstraction library"
8 HOMEPAGE="https://fedorahosted.org/libverto/"
9 SRC_URI="https://fedorahosted.org/releases/l/i/libverto/${P}.tar.gz"
10
11 LICENSE="MIT"
12 SLOT="0"
13 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~x86 ~amd64-fbsd"
14 IUSE="glib +libev libevent tevent +threads static-libs"
15
16 # file collisions
17 DEPEND="!=app-crypt/mit-krb5-1.10.1-r0
18 !=app-crypt/mit-krb5-1.10.1-r1
19 !=app-crypt/mit-krb5-1.10.1-r2
20 glib? ( >=dev-libs/glib-2.29 )
21 libev? ( >=dev-libs/libev-4.11 )
22 libevent? ( >=dev-libs/libevent-2.0 )
23 tevent? ( sys-libs/tevent )"
24
25 RDEPEND="${DEPEND}"
26
27 REQUIRED_USE="|| ( glib libev libevent tevent ) "
28
29 src_prepare() {
30 # known problem uptream with tevent write test. tevent does not fire a
31 # callback on error, but we explicitly test for this behaviour. Do not run
32 # tevent tests for now.
33 sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
34 }
35
36 src_configure() {
37 econf \
38 $(use_with glib) \
39 $(use_with libev) \
40 $(use_with libevent) \
41 $(use_with tevent) \
42 $(use_with threads pthread) \
43 $(use_enable static-libs static)
44 }
45
46 src_install() {
47 emake DESTDIR="${D}" install
48
49 dodoc AUTHORS ChangeLog NEWS INSTALL README
50
51 use static-libs || find "${D}" -name '*.la' -delete
52 }

  ViewVC Help
Powered by ViewVC 1.1.20