diff options
author | Karel Kočí <cynerd@email.cz> | 2019-04-13 17:18:55 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-04-13 17:18:55 +0200 |
commit | 886abe76182431f88b66c285d71e25895eee20f4 (patch) | |
tree | 60d846ce6f2134bd99d767f5a9ec0e18da18c254 /dev-util/laminar/laminar-0.6.0.7.ebuild | |
parent | 6807cfe29e606fb1bfd644b6d91c024fc640d734 (diff) | |
download | gentoo-personal-overlay-886abe76182431f88b66c285d71e25895eee20f4.tar.gz gentoo-personal-overlay-886abe76182431f88b66c285d71e25895eee20f4.tar.bz2 gentoo-personal-overlay-886abe76182431f88b66c285d71e25895eee20f4.zip |
dev-util/laminar: update to latest master
Diffstat (limited to 'dev-util/laminar/laminar-0.6.0.7.ebuild')
-rw-r--r-- | dev-util/laminar/laminar-0.6.0.7.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/laminar/laminar-0.6.0.7.ebuild b/dev-util/laminar/laminar-0.6.0.7.ebuild new file mode 100644 index 0000000..f2e9c6e --- /dev/null +++ b/dev-util/laminar/laminar-0.6.0.7.ebuild @@ -0,0 +1,58 @@ +EAPI=6 + +inherit cmake-utils + +HASHV="0c67d4c8447b999f456d64addc6106bb318e87ee" +DESCRIPTION="Lightweight and modular Continuous Integration service for Linux" +HOMEPAGE="http://laminar.ohwg.net/" +SRC_URI="https://github.com/ohwgiles/${PN}/archive/${HASHV}.tar.gz -> ${P}.tar.gz + https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js -> ${P}-vue.min.js + https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.7.0/vue-router.min.js -> ${P}-vue-router.min.js + https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js -> ${P}-ansi_up.js + https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js -> ${P}-Chart.min.js + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css -> ${P}-bootstrap.min.css" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-libs/capnproto + dev-libs/rapidjson + dev-db/sqlite + dev-libs/boost" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/laminar-${HASHV}" + +src_unpack() { + # Note that ${A} contains also other files so no general unpack + unpack "${P}.tar.gz" +} + +# Note: lamianr build system in default downloads external files but that is not +# possible for some reason in sandbox. THis downloads those files outside of +# scripts and copies them to correct place before configure which prevents from +# download happening/failing. +src_configure() { + local BUILD_DIR="${WORKDIR}/${P}_build" + mkdir -p ${BUILD_DIR}/js + for file in vue.min.js vue-router.min.js ansi_up.js Chart.min.js; do + cat "${DISTDIR}/${P}-${file}" > "${BUILD_DIR}/js/${file}" + done + mkdir -p ${BUILD_DIR}/css + for file in bootstrap.min.css; do + cat "${DISTDIR}/${P}-${file}" > "${BUILD_DIR}/css/${file}" + done + + local mycmakeargs=( + "-DCMAKE_INSTALL_PREFIX=/" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}/laminar.init" laminar +} |