summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-08-22 12:48:24 +0200
committerMike Gilbert <floppym@gentoo.org>2017-08-22 10:20:13 -0400
commit45cae1f72442b770ae831ab2349f893a18562651 (patch)
tree86ad88be18a186e64e5dfc3e5a3c9cbf62608549 /app-i18n/opencc
parentapp-i18n/opencc: Delete "static-libs" USE flag. (diff)
downloadgentoo-45cae1f72442b770ae831ab2349f893a18562651.tar.gz
gentoo-45cae1f72442b770ae831ab2349f893a18562651.tar.bz2
gentoo-45cae1f72442b770ae831ab2349f893a18562651.zip
app-i18n/opencc: Minor cleanup.
Drop unused eclasses, obsolete comments, unused cmake variable.
Diffstat (limited to 'app-i18n/opencc')
-rw-r--r--app-i18n/opencc/opencc-1.0.5.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild
index bf1dbe79616..3e9033333de 100644
--- a/app-i18n/opencc/opencc-1.0.5.ebuild
+++ b/app-i18n/opencc/opencc-1.0.5.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI="6"
-inherit cmake-utils multilib eutils vcs-snapshot
+inherit cmake-utils
-DESCRIPTION="Libraries for conversion between Traditional and Simplified Chinese"
+DESCRIPTION="Project for conversion between Traditional and Simplified Chinese"
HOMEPAGE="https://github.com/BYVoid/OpenCC"
SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
@@ -17,18 +17,13 @@ IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
-DOCS="AUTHORS NEWS.md README.md"
-
-#PATCHES=(
-# "${FILESDIR}"/${PN}-1.0.4-cmake-libdir.patch
-#)
+DOCS=(AUTHORS NEWS.md README.md)
src_configure() {
local mycmakeargs=(
-DBUILD_DOCUMENTATION=$(usex doc)
-DBUILD_SHARED_LIBS=ON
-DENABLE_GTEST=OFF
- -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)
)
cmake-utils_src_configure