You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-cpp/lucene++/lucene++-3.0.6.ebuild

40 lines
994 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/lucene++/lucene++-3.0.6.ebuild,v 1.1 2015/01/10 13:37:49 johu Exp $
EAPI=5
MY_P="LucenePlusPlus-rel_${PV}"
inherit cmake-utils multilib
DESCRIPTION="C++ port of Java Lucene library, a high-performance, full-featured text search engine"
HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus"
SRC_URI="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( LGPL-3 Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="dev-libs/boost:="
RDEPEND="${DEPEND}"
RESTRICT="test"
S="${WORKDIR}/${MY_P}"
DOCS=( AUTHORS README.rst )
PATCHES=(
"${FILESDIR}/${P}-disable-demos.patch"
"${FILESDIR}/${P}-disable-tests.patch"
"${FILESDIR}/${P}-fix-installing-headers.patch"
)
src_configure() {
local mycmakeargs=(
-DLIB_DESTINATION=$(get_libdir)
)
cmake-utils_src_configure
}