From 18ced75bd8731ce8ea7e194e044f9812643eb095 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Fri, 5 Jul 2019 23:07:57 +0200 Subject: [PATCH] Add crosstool-ng --- dev-embedded/crosstool-ng/Manifest | 3 ++ .../crosstool-ng/crosstool-ng-1.24.0.ebuild | 45 +++++++++++++++++++ .../crosstool-ng/crosstool-ng-9999.ebuild | 45 +++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 dev-embedded/crosstool-ng/Manifest create mode 100644 dev-embedded/crosstool-ng/crosstool-ng-1.24.0.ebuild create mode 100644 dev-embedded/crosstool-ng/crosstool-ng-9999.ebuild diff --git a/dev-embedded/crosstool-ng/Manifest b/dev-embedded/crosstool-ng/Manifest new file mode 100644 index 0000000..5f9d5ee --- /dev/null +++ b/dev-embedded/crosstool-ng/Manifest @@ -0,0 +1,3 @@ +DIST crosstool-ng-1.24.0.tar.xz 1622432 BLAKE2B e0f3f26083dd10a35ac79fc78debe98db7914f5d7fd710ed6b4c788a7a0d56e22d22966f186e8315ae99a6141d1d5b80686e86ad8b0549514a07dfda5913a348 SHA512 89b8794a4184ad4928750e29712ed4f194aa1d0b93768d67ff64f30c30f1b1e165647cafc6de94d68d3ef70e50446e544dad65aa36137511a32ee7a667dddfb4 +EBUILD crosstool-ng-1.24.0.ebuild 949 BLAKE2B 2f4e41eaef8d769315fa096fcad0983f883b9fdc1f1c439d1aa559eb7f01ea70f3431a292064b07d5c46e23766fea4a2f32a92419ef3afadb3c6c72c73c0317e SHA512 4339dc41fc82401c3fcff1b65d11301b10949f1594b075ec7081181c9c9acbbeae4105e861933877d3588a685c4bff763a84781ceff7cf3a3ea23a602df6b1b8 +EBUILD crosstool-ng-9999.ebuild 951 BLAKE2B 9bd6624b6cbef2d5469a6f23489b8ce73c5b8c2833bface0858bb07ddf887440fd617cd6e74ec59cbafc3d23ae6af83d84ecad29caaa3740d7f3a3e59f045086 SHA512 77fae7147c02b06adfe6f771806ff4475d34aea3967ce7d1e41395b3c0d6128d1eadb641d15717591bb2ae197c9212ad72cba0cef86cb20d6ffc37121e2b3170 diff --git a/dev-embedded/crosstool-ng/crosstool-ng-1.24.0.ebuild b/dev-embedded/crosstool-ng/crosstool-ng-1.24.0.ebuild new file mode 100644 index 0000000..23e096b --- /dev/null +++ b/dev-embedded/crosstool-ng/crosstool-ng-1.24.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_{6,7} python3_{1,2,3,4,5,6,7} ) + +inherit autotools python-single-r1 + +DESCRIPTION="a versatile (cross) toolchain generator" +HOMEPAGE="https://crosstool-ng.github.io" + +if [[ "${PV}" = 9999 ]]; then + EGIT_REPO_URI="https://github.com/crosstool-ng/crosstool-ng.git" + inherit git-r3 +else + SRC_URI="http://crosstool-ng.org/download/${PN}/${P}.tar.xz" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="bash-completion nls" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=sys-devel/make-3.81 + sys-apps/gawk + >=app-shells/bash-4 + >=sys-devel/m4-1.4.12 + >=sys-devel/bison-2.7 + >=sys-apps/sed-4.0 + sys-libs/ncurses + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_configure() +{ + ./bootstrap + econf \ + $(use_with bash-completion) \ + $(use_enable nls) \ + --disable-maintainer-mode \ + --disable-dependency-tracking +} diff --git a/dev-embedded/crosstool-ng/crosstool-ng-9999.ebuild b/dev-embedded/crosstool-ng/crosstool-ng-9999.ebuild new file mode 100644 index 0000000..2f766e9 --- /dev/null +++ b/dev-embedded/crosstool-ng/crosstool-ng-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_{6,7} python3_{1,2,3,4,5,6,7} ) + +inherit autotools python-single-r1 + +DESCRIPTION="a versatile (cross) toolchain generator" +HOMEPAGE="https://crosstool-ng.github.io" + +if [[ "${PV}" = 9999 ]]; then + EGIT_REPO_URI="https://github.com/crosstool-ng/crosstool-ng.git" + inherit git-r3 +else + SRC_URI="http://crosstool-ng.org/download/${PN}/${P}.tar.xz" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bash-completion nls" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=sys-devel/make-3.81 + sys-apps/gawk + >=app-shells/bash-4 + >=sys-devel/m4-1.4.12 + >=sys-devel/bison-2.7 + >=sys-apps/sed-4.0 + sys-libs/ncurses + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_configure() +{ + ./bootstrap + econf \ + $(use_with bash-completion) \ + $(use_enable nls) \ + --disable-maintainer-mode \ + --disable-dependency-tracking +}