# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-i18n/librime/librime-0.9.8.ebuild,v 1.1 2013/02/05 10:25:33 yngwin Exp $ EAPI=5 inherit cmake-utils multilib DESCRIPTION="Rime Input Method Engine library" HOMEPAGE="http://code.google.com/p/rimeime/" SRC_URI="http://rimeime.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" RDEPEND="app-i18n/opencc dev-cpp/glog dev-cpp/yaml-cpp dev-db/kyotocabinet >=dev-libs/boost-1.46.0[threads(+)] sys-libs/zlib x11-proto/xproto" DEPEND="${RDEPEND}" S=${WORKDIR}/${PN} src_configure() { local mycmakeargs=( $(cmake-utils_use_build static-libs STATIC) -DBUILD_DATA=OFF -DLIB_INSTALL_DIR=/usr/$(get_libdir) ) cmake-utils_src_configure }