summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2016-11-01 18:47:16 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2016-11-01 18:47:16 +0800
commit083e57c12ce67cb2b3505949e41e7de5361bb398 (patch)
treeb6d906d91dad62849ff37e167417db5e717f6ea7 /sci-libs/xgboost
parent[sci-libs/xgboost] minor fix2 (diff)
downloadpigfoot-083e57c12ce67cb2b3505949e41e7de5361bb398.tar.gz
pigfoot-083e57c12ce67cb2b3505949e41e7de5361bb398.tar.bz2
pigfoot-083e57c12ce67cb2b3505949e41e7de5361bb398.zip
[sci-libs/xgboost] minor fix3
Diffstat (limited to 'sci-libs/xgboost')
-rw-r--r--sci-libs/xgboost/xgboost-0.60.ebuild10
-rw-r--r--sci-libs/xgboost/xgboost-9999.ebuild10
2 files changed, 18 insertions, 2 deletions
diff --git a/sci-libs/xgboost/xgboost-0.60.ebuild b/sci-libs/xgboost/xgboost-0.60.ebuild
index 33bd352..cbe5710 100644
--- a/sci-libs/xgboost/xgboost-0.60.ebuild
+++ b/sci-libs/xgboost/xgboost-0.60.ebuild
@@ -19,7 +19,15 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-IUSE=""
+IUSE="static-libs"
DEPEND=">=sys-devel/gcc-4.6"
RDEPEND="${DEPEND}"
+
+src_install() {
+ insinto /usr/include
+ doins -r {dmlc-core/,rabit/,}include/*
+ dolib.so lib/libxgboost.so
+ use static-libs && dolib.a lib/libxgboost.a
+ dobin xgboost
+}
diff --git a/sci-libs/xgboost/xgboost-9999.ebuild b/sci-libs/xgboost/xgboost-9999.ebuild
index 55b8773..7d7b325 100644
--- a/sci-libs/xgboost/xgboost-9999.ebuild
+++ b/sci-libs/xgboost/xgboost-9999.ebuild
@@ -19,7 +19,15 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-IUSE=""
+IUSE="static-libs"
DEPEND=">=sys-devel/gcc-4.6"
RDEPEND="${DEPEND}"
+
+src_install() {
+ insinto /usr/include
+ doins -r {dmlc-core/,rabit/,}include/*
+ dolib.so lib/libxgboost.so
+ use static-libs && dolib.a lib/libxgboost.a
+ dobin xgboost
+}