summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/libchewing/libchewing-0.4.0-r1.ebuild')
-rw-r--r--app-i18n/libchewing/libchewing-0.4.0-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild b/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild
index 526dc209f753..6f3fb5790d76 100644
--- a/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild
+++ b/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild
@@ -13,6 +13,7 @@ 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}
@@ -33,6 +34,10 @@ src_configure() {
--with-sqlite3
}
+src_test() {
+ emake -j1 check
+}
+
src_install() {
default
prune_libtool_files