diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-02-09 18:00:43 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-02-09 18:00:43 +0000 |
commit | 414768a5cc3f59176b024f946b176610a99fa617 (patch) | |
tree | 293d3007a3bb1da2e373c624c0fe38ceb161feef /dev-libs/libical | |
parent | Mask media-video/libav[hardcoded-tables] bug #453328 (diff) | |
download | gentoo-2-414768a5cc3f59176b024f946b176610a99fa617.tar.gz gentoo-2-414768a5cc3f59176b024f946b176610a99fa617.tar.bz2 gentoo-2-414768a5cc3f59176b024f946b176610a99fa617.zip |
Add USE=static-libs (bug #378241).
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/libical')
-rw-r--r-- | dev-libs/libical/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libical/libical-0.48-r1.ebuild | 56 |
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-libs/libical/ChangeLog b/dev-libs/libical/ChangeLog index 54f9a03da273..f62060f3c72b 100644 --- a/dev-libs/libical/ChangeLog +++ b/dev-libs/libical/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libical # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/ChangeLog,v 1.70 2013/02/04 06:00:32 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/ChangeLog,v 1.71 2013/02/09 18:00:43 jer Exp $ + +*libical-0.48-r1 (09 Feb 2013) + + 09 Feb 2013; Jeroen Roovers <jer@gentoo.org> +libical-0.48-r1.ebuild: + Add USE=static-libs (bug #378241). 04 Feb 2013; Patrick Lauer <patrick@gentoo.org> libical-0.48.ebuild: Fix dependencies #447330 diff --git a/dev-libs/libical/libical-0.48-r1.ebuild b/dev-libs/libical/libical-0.48-r1.ebuild new file mode 100644 index 000000000000..38d44db687c7 --- /dev/null +++ b/dev-libs/libical/libical-0.48-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/libical-0.48-r1.ebuild,v 1.1 2013/02/09 18:00:43 jer Exp $ + +EAPI=5 +inherit eutils + +DESCRIPTION="An implementation of basic iCAL protocols from citadel, previously known as aurore" +HOMEPAGE="http://freeassociation.sourceforge.net" +#SRC_URI="mirror://sourceforge/freeassociation/files/${PN}/${P}/${P}.tar.gz" +SRC_URI="mirror://sourceforge/freeassociation/${PN}/${P}/${P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="examples static-libs" + +# https://sourceforge.net/tracker2/index.php?func=detail&aid=2196790&group_id=16077&atid=116077 +# Upstream states that tests are supposed to fail (I hope sf updates archives +# and answer became visible): +# http://sourceforge.net/mailarchive/forum.php?thread_name=1257441040.20584.3431.camel%40tablet&forum_name=freeassociation-devel +RESTRICT="test" + +DEPEND="dev-lang/perl" + +src_prepare() { + # Do not waste time building examples + sed -i -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.{am,in} || die + # If errors are fatal, some software can segfault + sed -i \ + -e 's/^#define ICAL_ERRORS_ARE_FATAL 0/#undef ICAL_ERRORS_ARE_FATAL/' \ + configure || die +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-icalerrors-are-fatal +} + +DOCS=( + AUTHORS ChangeLog NEWS README TEST THANKS TODO + doc/{AddingOrModifyingComponents,UsingLibical}.txt +) + +src_install() { + default + + prune_libtool_files + + if use examples; then + rm examples/Makefile* examples/CMakeLists.txt + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} |