diff options
author | loong0 <longlene@gmail.com> | 2016-02-17 15:39:46 +0800 |
---|---|---|
committer | loong0 <longlene@gmail.com> | 2016-02-17 15:39:46 +0800 |
commit | 1c4c9fa58ab492edf1c3f83466e738898efd557d (patch) | |
tree | 128e536d297c74594cf0e6e37e58e043415c82bd /dev-lang/crystal | |
parent | 2b281bd2ff113ea44e69a65aabbb89b3e6be31b7 (diff) | |
download | gentoo-1c4c9fa58ab492edf1c3f83466e738898efd557d.tar.gz gentoo-1c4c9fa58ab492edf1c3f83466e738898efd557d.tar.xz |
dev-lang/crystal: version bump to 0.12.0
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r-- | dev-lang/crystal/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-0.12.0.ebuild | 70 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index 1ad8e764e51..650b639f789 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -7,3 +7,6 @@ DIST crystal-0.8.0.tar.gz 731304 SHA256 986a000bb2eded22e446fd55c543062770ec4000 DIST crystal-0.11.1-1-linux-i686.tar.gz 12283213 SHA256 2db84f6a287925d02832192cb7c5b99d0f543afd5323286a3a8c1799d5952abe SHA512 c4cfcd51efa76492c0174d8a5273303d17e672273de1b35eafcce920710afadd031e7cfec775880ccedd7d6e87d0f2c27958b1499c8ce494fcc849c6e78ec2a5 WHIRLPOOL 849abefe1ebbf9b8aae484567662973b5712e1d55a45a123cd41f7f0cfd4ecd5f7bfe5d27e6ce227922b4985772f4b70acfb8e94ff8042c48a48f08c9cab5887 DIST crystal-0.11.1-1-linux-x86_64.tar.gz 11854829 SHA256 742ee62b23d2ada2a9baa39d0f30973ca0b5b003504b04f2aad8483ef9b6f07b SHA512 ff0a8f25a5732936797f9d9359be9725d4d93f80d1d33ddf43e1833d4fd9dc9dcfc99e6d3a54e51c380cbdaacf0c8bf7b0077b939739434e604ad33f38dc56e0 WHIRLPOOL d26aa43fe08d05f29e38885b005ccd43a3f35a51e909d2ff4c343f1d617041d7b3c7f80414781abee482f43115b9d4a9963fa5001391a5d9a487f89580605811 DIST crystal-0.11.1.tar.gz 830437 SHA256 bdff81fcb4f2dfdd50d79abba8a1ed0260bad4c1f055002cd16b9b6f443b8a15 SHA512 ba2dc5a74925c8cc84e0654773e4befb604b3c485294d54e8ed738d7f1eef42173bb94aa12a08b65845e29494073b83b1da7bbe9438df0ba0ed30dd8491ce4ba WHIRLPOOL 9cf36214ef6df4d1e9249e8f725343eb3235cb12323416b9247c478dbca97b42c3be317c58d478576dd1cb81dc3d57b8c5e8118a4fd11d6c103a40b277de7cbe +DIST crystal-0.12.0-1-linux-i686.tar.gz 12301739 SHA256 0595aab4336e48d0d04f0a0f172f641ebb1c17ebdb6e2eebbbfa36a650323242 SHA512 b893f1c36f658356b19257c7eb60219d2dd0a20f00d8d27ce4f3136a05153d4e3ded090979623f2895eb7b0070a902b59cdc891aba88515ee6ba9e6cf065351c WHIRLPOOL dc81e6e0ea6619e697ae81a247849bf2bf10b5134f45fd2979a7bbfa7e1be53a5f79890ecebeab9f35c86b58bfca486c0e071c5baee06600c0d76cf1f6db3224 +DIST crystal-0.12.0-1-linux-x86_64.tar.gz 11874469 SHA256 ecd444dab34803fd97dcb9f82da47c60fad9de3c2f43d20195108d678e874f16 SHA512 ffea0d3a9864249a91d9a8243ffdb39c8bd54e931479b35414065fe30d5d2d79f5f4b743eaf3f7e8936a183673e2ff3ccb83fa5f2a9e2521443eb0632f5f6723 WHIRLPOOL 3938a93c5647f784e1782e747a432668726bf901f2aa1ac0992ff19ac69a008313d3922e492343deda7ae1786847c4fb2781ac26c34870d3e2aa0f378c38b5bc +DIST crystal-0.12.0.tar.gz 851051 SHA256 918bad9b906fe252f3f66685487892ad7c13a31135aa5874ac1e52ea399328e3 SHA512 86ba58e3f69ecada49a8e6596f49cc4e4becb109c2725b9436eb5aa587c247aa4c309242e3fdc5d6a655726595005db4e33fcf868d7c888448c58af74d1b947f WHIRLPOOL 4523f8a1904feade28584ce828fbb96d302f6976f6a0a7836c4b8cc40ac4cc2c28c9b41eb2da6dead314dbaa3422f46727cce2443e10776cd271627fb4c3d2d6 diff --git a/dev-lang/crystal/crystal-0.12.0.ebuild b/dev-lang/crystal/crystal-0.12.0.ebuild new file mode 100644 index 00000000000..b5f4005864a --- /dev/null +++ b/dev-lang/crystal/crystal-0.12.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +BV=${PV}-1 +BV_AMD64=${BV}-linux-x86_64 +BV_X86=${BV}-linux-i686 + +DESCRIPTION="The Crystal Programming Language" +HOMEPAGE="http://crystal-lang.org" +SRC_URI="https://github.com/manastech/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz + amd64? ( https://github.com/manastech/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz ) + x86? ( https://github.com/manastech/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples +xml +yaml" + +# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382 +DEPEND=" + <sys-devel/llvm-3.7.0 + dev-libs/boehm-gc[static-libs] + dev-libs/libatomic_ops + dev-libs/libevent + dev-libs/libpcre + sys-libs/libunwind + dev-libs/pcl + dev-libs/gmp:0 +" +RDEPEND="${DEPEND} + xml? ( dev-libs/libxml2 ) + yaml? ( dev-libs/libyaml ) +" + +src_compile() { + emake \ + release=1 \ + PATH="${PATH}":"${WORKDIR}"/${PN}-${BV}/bin \ + CRYSTAL_PATH=src \ + CRYSTAL_CONFIG_VERSION=${PV} \ + CRYSTAL_CONFIG_PATH="libs:/usr/$(get_libdir)/crystal" + use doc && emake doc +} + +src_test() { + emake spec \ + CRYSTAL_PATH=src \ + CRYSTAL_CONFIG_VERSION=${PV} +} + +src_install() { + insinto /usr/$(get_libdir)/crystal + doins -r src/. + dobin .build/crystal + + insinto /usr/share/zsh/site-functions + newins etc/completion.zsh _crystal + + use examples && dodoc -r samples + + if use doc ; then + docinto api + dodoc -r doc/. + fi +} |