diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-18 09:43:01 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-18 09:52:36 +0000 |
commit | df03cc4846c465c4c1f685ee599ddd4efe1226a7 (patch) | |
tree | 155b9f3802f8ad6b26e760c6854bc2f2afb15f6f /sys-devel/sparse/sparse-0.6.1.ebuild | |
parent | sys-fs/iprutils: drop old (diff) | |
download | gentoo-df03cc4846c465c4c1f685ee599ddd4efe1226a7.tar.gz gentoo-df03cc4846c465c4c1f685ee599ddd4efe1226a7.tar.bz2 gentoo-df03cc4846c465c4c1f685ee599ddd4efe1226a7.zip |
sys-devel/sparse: drop old
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/sparse/sparse-0.6.1.ebuild')
-rw-r--r-- | sys-devel/sparse/sparse-0.6.1.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild deleted file mode 100644 index d058d2c9ea40..000000000000 --- a/sys-devel/sparse/sparse-0.6.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils llvm multilib toolchain-funcs - -DESCRIPTION="C semantic parser" -HOMEPAGE="https://sparse.wiki.kernel.org/index.php/Main_Page" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/${PN}/${PN}.git" - KEYWORDS="" -else - SRC_URI="https://www.kernel.org/pub/software/devel/${PN}/dist/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="gtk llvm test xml" -RESTRICT="!test? ( test )" - -LLVM_MAX_SLOT=9 - -RDEPEND="gtk? ( x11-libs/gtk+:2 ) - llvm? ( sys-devel/llvm:${LLVM_MAX_SLOT}= ) - xml? ( dev-libs/libxml2 )" -DEPEND="${RDEPEND} - gtk? ( virtual/pkgconfig ) - xml? ( virtual/pkgconfig )" - -pkg_setup() { - use llvm && llvm_pkg_setup -} - -_emake() { - # Makefile does not allow for an easy override of flags. - # Collect them here and override default phases. - emake \ - CC="$(tc-getCC)" \ - LD="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - CFLAGS="${CFLAGS}" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - \ - HAVE_GTK=$(usex gtk) \ - HAVE_LLVM=$(usex llvm) \ - HAVE_LIBXML=$(usex xml) \ - \ - V=1 \ - PREFIX="${EPREFIX}/usr" \ - \ - "$@" -} - -src_compile() { - _emake -} - -src_test() { - _emake check -} - -src_install() { - _emake DESTDIR="${D}" install - - dodoc FAQ README -} |