diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/ct-ng/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/ct-ng/ct-ng-220209.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/sys-devel/ct-ng/Manifest b/sys-devel/ct-ng/Manifest new file mode 100644 index 0000000..288499e --- /dev/null +++ b/sys-devel/ct-ng/Manifest @@ -0,0 +1 @@ +DIST ct-ng-220209.tar.gz 1887532 BLAKE2B d4617517a90a8b22cfb47d4764002e6b9e46e4b78416c9df902bfaa3b75b040d37cebbcd8932cc730cb2073d4b819496d866321b56025de7a89284a81e798369 SHA512 ad8d4b1f4bb370128c7115e529dceb8dbeb63139c814300033d64c9070920e963291df6fa1f0a252f59e22f4bd5383d108aa122358618550183e642f0bf3ef20 diff --git a/sys-devel/ct-ng/ct-ng-220209.ebuild b/sys-devel/ct-ng/ct-ng-220209.ebuild new file mode 100644 index 0000000..b211c8f --- /dev/null +++ b/sys-devel/ct-ng/ct-ng-220209.ebuild @@ -0,0 +1,29 @@ +EAPI="7" + +DESCRIPTION="crosstool-ng is a tool to build cross-compiling toolchains" +HOMEPAGE="https://crosstool-ng.github.io/" +HASH="ba680a3e5b8c62a7c1554e71f6d09903dac95a2f" +SRC_URI="https://github.com/crosstool-ng/crosstool-ng/archive/${HASH}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/crosstool-ng-${HASH}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="net-misc/curl + dev-util/gperf + dev-vcs/cvs + dev-vcs/subversion" + +src_configure() { + ./bootstrap + econf +} + +src_install() { + emake DESTDIR="${D}" install + use doc && mv "${D}"/usr/share/doc/crosstool-ng/crosstool-ng-${PVR} \ + "${D}"/usr/share/doc/ + rm -rf "${D}"/usr/share/doc/crosstool-ng +} |