commit: 499874d36c52332d1b3d79f3a3c9ce527878f05f Author: Theo Anderson <telans <AT> posteo <DOT> de> AuthorDate: Tue Dec 15 09:40:27 2020 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Tue Dec 15 09:40:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=499874d3
dev-lang/wren: drop 9999 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans <AT> posteo.de> dev-lang/wren/wren-9999.ebuild | 79 ------------------------------------------ 1 file changed, 79 deletions(-) diff --git a/dev-lang/wren/wren-9999.ebuild b/dev-lang/wren/wren-9999.ebuild deleted file mode 100644 index 689c8a5d..00000000 --- a/dev-lang/wren/wren-9999.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="The Wren Programming Language" -HOMEPAGE="https://wren.io/" -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/wren-lang/${PN}.git" - inherit git-r3 - KEYWORDS="" -else - SRC_URI="https://github.com/wren-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="static-libs tools" - -DEPEND=">=dev-libs/libuv-1.10.0" -RDEPEND="${DEPEND}" -BDEPEND="" -#BDEPEND="test? ( dev-lang/python )" -#RESTRICT="!test? ( test )" -RESTRICT="test" - -src_configure() { - return -} - -src_compile() { - local targets="" - - if use static-libs ; then - #do both shared and static libs - targets="${targets} vm" - else - targets="${targets} shared" - fi - if use tools ; then - targets="${targets} cli" - fi - #I don't think tests are working, I just get lots of linker errors - #if use test ; then - # targets="${targets} api_test unit_test" - #fi - - echo "prefix=\"${EPREFIX}/usr\"" > ${PN}.pc - echo "libdir=\"\${prefix}/$(get_libdir)\"" >> ${PN}.pc - echo "includedir=\"\${prefix}/include\"" >> ${PN}.pc - echo "" >> ${PN}.pc - echo "Name: ${PN}" >> ${PN}.pc - echo "Description: ${DESCRIPTION}" >> ${PN}.pc - echo "URL: ${HOMEPAGE}" >> ${PN}.pc - echo "Version: ${PV}" >> ${PN}.pc - echo "Libs: \"-L\${libdir}\" -l${PN}" >> ${PN}.pc - echo "Cflags: \"-I\${includedir}\"" >> ${PN}.pc - - tc-export AR CC - emake -f util/wren.mk LIBUV_DIR="${EPREFIX}/usr" LIBUV="${EPREFIX}/usr/$(get_libdir)/libuv.so" VERBOSE=1 ${targets} -} - -src_install() { - if use tools ; then - dobin bin/wren - fi - if use static-libs ; then - dolib.a lib/libwren.a - fi - dolib.so lib/libwren.so - doheader src/include/wren.h - doheader src/include/wren.hpp - - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc -}