diff options
author | Austin English <wizardedit@gentoo.org> | 2017-12-18 14:38:19 -0600 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2017-12-18 15:06:08 -0600 |
commit | b8c9774cae106f0321bb303d7fdc712cdec6087f (patch) | |
tree | dd5165227e24c255f69c2371bd864c2c71d7dbb3 /dev-lang | |
parent | dev-lang/tcc: fix patch filenames (diff) | |
download | gentoo-b8c9774cae106f0321bb303d7fdc712cdec6087f.tar.gz gentoo-b8c9774cae106f0321bb303d7fdc712cdec6087f.tar.bz2 gentoo-b8c9774cae106f0321bb303d7fdc712cdec6087f.zip |
dev-lang/tcc: update 9999 ebuild to EAPI 6
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/tcc/tcc-9999.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild index 728ed94dbec7..d55542ed7b7e 100644 --- a/dev-lang/tcc/tcc-9999.ebuild +++ b/dev-lang/tcc/tcc-9999.ebuild @@ -1,17 +1,25 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" - -inherit eutils toolchain-funcs git-r3 +EAPI="6" DESCRIPTION="A very small C compiler for ix86/amd64" HOMEPAGE="http://bellard.org/tcc/" -EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git" + +if [[ $PV == *9999* ]]; then + EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git" + KEYWORDS="" + SRC_URI="" + scm_eclass=git-r3 +else + KEYWORDS="~amd64 ~x86 ~amd64-linux" + SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2" +fi + +inherit toolchain-funcs ${scm_eclass} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="" DEPEND="dev-lang/perl" # doc generation # Both tendra and tinycc install /usr/bin/tcc @@ -32,6 +40,8 @@ src_prepare() { # fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die + + eapply_user } src_configure() { |