diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-07-05 19:11:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-07-05 19:11:26 +0100 |
commit | 89641f00c8624e7b6d8a4d444a447b05ba166ce5 (patch) | |
tree | c8b91505346795af75d1256b2797d07e43bbc941 /dev-lang | |
parent | profiles/package.mask: mask x11-misc/xmonad-log-applet for removal (diff) | |
download | gentoo-89641f00c8624e7b6d8a4d444a447b05ba166ce5.tar.gz gentoo-89641f00c8624e7b6d8a4d444a447b05ba166ce5.tar.bz2 gentoo-89641f00c8624e7b6d8a4d444a447b05ba166ce5.zip |
dev-lang/squirrel: grab 3.1_p20200612 release snapshot
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/659880
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/squirrel/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/squirrel/squirrel-3.1_p20200612.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-lang/squirrel/Manifest b/dev-lang/squirrel/Manifest index a8083522606b..0df0a5920aef 100644 --- a/dev-lang/squirrel/Manifest +++ b/dev-lang/squirrel/Manifest @@ -1 +1,2 @@ DIST squirrel-3.1.tar.gz 175612 BLAKE2B 48a21b0ecd881dc3bea104e86013c3f3d5a4bc1e590cd67ef7e679e01383b7454aad4ea9b8ecec9b836a0ee44e8c9e470309f9c71050ed6d8deb76caac726aea SHA512 8aec059c801a8f6a1ddb9585cebd51457cfd43743cb0b03494e022fd47392e7b4b88e4703f184f4dcba2be8c0fb756e9b260e2f230e1bd92b37cdcb86d4f1141 +DIST squirrel-3.1_p20200612.tar.gz 181047 BLAKE2B f6965b5e721919c6c33426843a9b73fb27f39b7341763c2ff01421e6b6dce6cb86c6a02df65af9cb2266e8a63d6612c0e857456c4bb6e2546760f937d1979990 SHA512 e9853c92c151ca35e137a91ba4e3c9ad9c4c6d95a22c3686ebbae74cea7c1bf704ec5274d610f9d8158d8662a2b1b1445664f3f33c11689553cfc090a957b204 diff --git a/dev-lang/squirrel/squirrel-3.1_p20200612.ebuild b/dev-lang/squirrel/squirrel-3.1_p20200612.ebuild new file mode 100644 index 000000000000..96d17ed9268c --- /dev/null +++ b/dev-lang/squirrel/squirrel-3.1_p20200612.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake vcs-snapshot + +DESCRIPTION="A interpreted language mainly used for games" +HOMEPAGE="http://squirrel-lang.org/" +commit=40050fa249733c85485adde533774ec066d29aca +SRC_URI="https://github.com/albertodemichelis/squirrel/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/albertodemichelis/squirrel/archive/${commit}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + $(usex static-libs '' -DDISABLE_STATIC=YES) + # /usr/bin/sq is used by app-text/ispell + # /usr/lib/libsquirrel.so is used by app-shells/squirrelsh + -DLONG_OUTPUT_NAMES=YES + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + dodoc HISTORY + + if use examples; then + docompress -x /usr/share/doc/${PF}/samples + dodoc -r samples + fi +} |