# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" inherit eutils mono DESCRIPTION="information indexing software library for mono" HOMEPAGE="http://incubator.apache.org/lucene.net/" SRC_URI="mirror://apache/incubator/lucene.net/source/${PV}-incubating/Apache-Lucene.Net-${PV}-incubating.src.zip" LICENSE="Apache-2.0 GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc" IUSE="debug doc" RDEPEND=">=dev-lang/mono-1.0" DEPEND="${RDEPEND} app-arch/unzip >=dev-util/pkgconfig-0.20" src_prepare() { echo "Prepare assemblies for signing (creating strong names)" cp "${FILESDIR}/gentoo.snk" . || die local files=$(find . -iname 'AssemblyInfo.cs') for file in ${files} do echo "Patching: " ${file} sed -i '/AssemblyDelaySign/d' ${file} sed -i '/AssemblyKeyFile/d' ${file} sed -i '/AssemblyKeyName/d' ${file} cat >>${file} <