summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/libchewing')
-rw-r--r--app-i18n/libchewing/Manifest1
-rw-r--r--app-i18n/libchewing/libchewing-0.5.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/app-i18n/libchewing/Manifest b/app-i18n/libchewing/Manifest
index c5123f411130..1244d7f81374 100644
--- a/app-i18n/libchewing/Manifest
+++ b/app-i18n/libchewing/Manifest
@@ -1,2 +1,3 @@
DIST libchewing-0.3.3.tar.bz2 1798134 SHA256 72a0de12b86c4d5f6468a68d88c736227ff16fa7a915f8595ffe5a31cae95eae SHA512 24df8d4a1dab72b32bca03bb1086223248a261d522e703c662aad53cfb16fef74691623361d275b8d811d4a0e6bc2b23b044248f7d3982dc657c9872de1de005 WHIRLPOOL 12b67dc7aa3c34fefe66bed995642d021b5c2997d706b7bb73319a0c26b3f9291c771f6308c50bc1cb3e319ff8848a09bf0aec1ed713eb55706bf11cdefdb824
DIST libchewing-0.4.0.tar.gz 3367957 SHA256 128eae0616c8b4dadaecfb8982304241e65e2eb397001144ba5ed451ec197cc2 SHA512 8ac2a50531867dd628ed0c084a30b22e24cd102671b9ce23b008fb54d049c07135a8af205186e4ed719077cef6739e230fdcbd33cab0821a9bfab5b8fb4248c7 WHIRLPOOL a7ed4841fac60d402c710a8775b74e61bdb6ed6790ce33221bce1efc9b111192251b60bedbd04654d6afb8264d784600794be402d02c04f802bbe6ba03b54984
+DIST libchewing-0.5.1.tar.bz2 3141084 SHA256 9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b SHA512 a6551661bb5e56bba59730b93b373db56af7d42f2ab4881fbfff8727689dd2604d42d2e5c0b04820df66a431dfb5fcb73cc5c9b538615da76198ee3635501c1f WHIRLPOOL 317069206b5e739539c327a071dd3be467d755b561afb2186e94c747ce291dfb4473f110023026bf78974ce53ffadde342fa74db4f608fcb9dc655004ccc7331
diff --git a/app-i18n/libchewing/libchewing-0.5.1.ebuild b/app-i18n/libchewing/libchewing-0.5.1.ebuild
new file mode 100644
index 000000000000..5f89bccd1733
--- /dev/null
+++ b/app-i18n/libchewing/libchewing-0.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit ltprune
+
+DESCRIPTION="Library for Chinese Phonetic input method"
+HOMEPAGE="http://chewing.csie.net/"
+SRC_URI="https://github.com/${PN/lib}/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? (
+ dev-libs/check
+ sys-libs/ncurses[unicode]
+ )"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --with-sqlite3
+}
+
+src_test() {
+ emake -j1 check
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}