Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libevent: ChangeLog libevent-2.0.7.ebuild libevent-2.0.5.ebuild
Date: Fri, 10 Sep 2010 01:09:28
Message-Id: 20100910010922.9DD6520051@flycatcher.gentoo.org
1 jer 10/09/10 01:09:22
2
3 Modified: ChangeLog
4 Added: libevent-2.0.7.ebuild
5 Removed: libevent-2.0.5.ebuild
6 Log:
7 Version bump. Add USE=static-libs.
8
9 (Portage version: 2.2_rc78/cvs/Linux i686)
10
11 Revision Changes Path
12 1.164 dev-libs/libevent/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/ChangeLog?rev=1.164&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/ChangeLog?rev=1.164&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/ChangeLog?r1=1.163&r2=1.164
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v
21 retrieving revision 1.163
22 retrieving revision 1.164
23 diff -u -r1.163 -r1.164
24 --- ChangeLog 5 Sep 2010 16:01:50 -0000 1.163
25 +++ ChangeLog 10 Sep 2010 01:09:22 -0000 1.164
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/libevent
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.163 2010/09/05 16:01:50 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.164 2010/09/10 01:09:22 jer Exp $
31 +
32 +*libevent-2.0.7 (10 Sep 2010)
33 +
34 + 10 Sep 2010; Jeroen Roovers <jer@g.o> -libevent-2.0.5.ebuild,
35 + +libevent-2.0.7.ebuild:
36 + Version bump. Add USE=static-libs.
37
38 05 Sep 2010; Raúl Porcel <armin76@g.o> libevent-1.4.14b.ebuild:
39 alpha/ia64/s390/sh/sparc stable wrt #331541
40
41
42
43 1.1 dev-libs/libevent/libevent-2.0.7.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.0.7.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libevent/libevent-2.0.7.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libevent-2.0.7.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.7.ebuild,v 1.1 2010/09/10 01:09:22 jer Exp $
53
54 EAPI="2"
55
56 inherit libtool
57
58 MY_P="${P}-rc"
59
60 DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
61 HOMEPAGE="http://monkey.org/~provos/libevent/"
62
63 # http://monkey.org/~provos/${MY_P}.tar.gz
64 SRC_URI="
65 mirror://sourceforge/levent/files/${MY_P}.tar.gz
66 "
67
68 LICENSE="BSD"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
71 IUSE="static-libs test"
72
73 DEPEND=""
74 RDEPEND="!dev-libs/9libs"
75
76 S=${WORKDIR}/${MY_P}
77
78 src_prepare() {
79 # don't waste time building tests/samples
80 sed -i \
81 -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
82 Makefile.in || die "sed Makefile.in failed"
83
84 elibtoolize
85 }
86
87 src_configure() {
88 econf $(use_enable static-libs static) || die "econf"
89 }
90
91 src_test() {
92 emake -C test check | tee "${T}"/tests
93 grep FAILED "${T}"/tests &>/dev/null && die "1 or more tests failed"
94 }
95
96 src_install() {
97 make DESTDIR="${D}" install || die "make install failed"
98 dodoc README ChangeLog
99 }