Commit: 48f2cbd70403ac7258b41e9dbc6ed393f899d762 Parent: bee5030b4e71eb802f18f33987215cb257310e9f Author: opask Date: Tue, 8 Jan 2019 16:55:17 -0700 add sys-devel/tcc Diffstat:
A | sys-devel/tcc/Manifest | | | 1 | + |
A | sys-devel/tcc/tcc-0.9.27.ebuild | | | 20 | ++++++++++++++++++++ |
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/sys-devel/tcc/Manifest b/sys-devel/tcc/Manifest @@ -0,0 +1 @@ +DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7 diff --git a/sys-devel/tcc/tcc-0.9.27.ebuild b/sys-devel/tcc/tcc-0.9.27.ebuild @@ -0,0 +1,20 @@ +EAPI=7 + +DESCRIPTION="A very small C compiler for ix86/amd64" +HOMEPAGE="http://bellard.org/tcc/" +SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" + +src_configure() { + econf --cc=${CC} \ + --prefix="${EPREFIX}${LOCAL_PREFIX}" \ + --config-musl \ + --enable-static +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs +}