diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 11:22:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 11:22:25 +0100 |
commit | 6a851e4f7c23c15c4b7853e6c34b0a0b9bc68482 (patch) | |
tree | 027421c2b8ddbc8c802c488ba086753da35fcfad /dev-lang/qore/qore-1.19.0.ebuild | |
parent | fcf991edcc1b310199e4e829a3706bc1c267d1db (diff) |
gentoo auto-resync : 24:09:2023 - 11:22:25
Diffstat (limited to 'dev-lang/qore/qore-1.19.0.ebuild')
-rw-r--r-- | dev-lang/qore/qore-1.19.0.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/dev-lang/qore/qore-1.19.0.ebuild b/dev-lang/qore/qore-1.19.0.ebuild new file mode 100644 index 000000000000..5ca2ae1bc341 --- /dev/null +++ b/dev-lang/qore/qore-1.19.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Qore, the embeddable multithreaded scripting language" +HOMEPAGE="http://qore.org/ + https://github.com/qorelanguage/qore/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/qorelanguage/${PN}.git" +else + SRC_URI="https://github.com/qorelanguage/${PN}/archive/release-${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-release-${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+ LGPL-2.1+ MIT" +SLOT="0" +IUSE="debug" + +RDEPEND=" + app-arch/bzip2:= + dev-libs/libpcre:= + dev-libs/mpfr:= + dev-libs/openssl:= + sys-libs/zlib:= +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local -a myconf=( + --disable-optimization + --disable-profile + --disable-static-bz2 + --disable-static-common + --disable-static-openssl + --disable-static-pcre + --disable-static-zlib + $(use_enable debug) + ) + econf "${myconf[@]}" +} + +src_test() { + PATH="${S}:${PATH}" emake check +} + +src_install() { + default + + find "${ED}" -type f -name "*.la" -delete || + die "failed to remove libtool files without corresponding static libraries" +} |