add libical update

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2506 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-11 17:20:48 +00:00
parent e10645f78f
commit 648fd94814
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST libical-0.46.tar.gz 1102093 RMD160 de2f63dd2d99790ebe217f0212e690c952454c46 SHA1 a2a9cad21e0c336246100eef8d079cbaff50a6f3 SHA256 000762efb81501421d94ec56343648a62b3bd2884e7cdf6f638e2c207dd8f6a1
EBUILD libical-0.46.ebuild 1728 RMD160 fa209207a9320c9280fb328399adbcc422779993 SHA1 8e75fb5998b41a125c76aadd96f552fbafcaa62c SHA256 5bfeea6b3b43cf41512106b57ea7f0851d6251be9b11adc0f99199964c94b856

View File

@ -0,0 +1,50 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/libical-0.44-r1.ebuild,v 1.1 2010/08/19 19:52:24 dagger Exp $
EAPI="2"
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"
LICENSE="|| ( MPL-1.1 LGPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="examples static"
DEPEND=""
RDEPEND="${DEPEND}"
# 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"
src_prepare() {
# Do not waste time building examples
sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
-i Makefile.am Makefile.in || die "sed failed"
# If errors are fatal, some software can segfault
sed 's/^#define ICAL_ERRORS_ARE_FATAL 0/#undef ICAL_ERRORS_ARE_FATAL/' \
-i configure || die "sed failed"
}
src_configure() {
econf \
$(use_enable static) \
--disable-icalerrors-are-fatal
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TEST THANKS TODO \
doc/{AddingOrModifyingComponents,UsingLibical}.txt || die "dodoc failed"
if use examples; then
rm examples/Makefile* examples/CMakeLists.txt
insinto /usr/share/doc/${PF}/examples
doins examples/*
fi
}