vapier 14/05/03 16:30:05 Modified: smatch-9999.ebuild ChangeLog Added: smatch-1.59.ebuild Log: Version bump #509290 by MJJoker. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.4 sys-devel/smatch/smatch-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild?r1=1.3&r2=1.4 Index: smatch-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- smatch-9999.ebuild 20 Dec 2012 02:46:28 -0000 1.3 +++ smatch-9999.ebuild 3 May 2014 16:30:04 -0000 1.4 @@ -1,30 +1,23 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild,v 1.3 2012/12/20 02:46:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-9999.ebuild,v 1.4 2014/05/03 16:30:04 vapier Exp $ EAPI="4" -inherit multilib toolchain-funcs +inherit toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://repo.or.cz/${PN}.git http://repo.or.cz/r/${PN}.git" inherit git-2 +else + SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz + mirror://gentoo/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" fi DESCRIPTION="static analysis tool for C" HOMEPAGE="http://smatch.sourceforge.net/" -if [[ ${PV} == "9999" ]] ; then - SRC_URI="" - #KEYWORDS="" -else - # The repo.or.cz site does not produce stable tarballs, - # so we have to cache our own copy of the snapshot. - #SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI="mirror://gentoo/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -fi - LICENSE="OSL-1.1" SLOT="0" IUSE="" @@ -36,13 +29,30 @@ src_prepare() { sed -i \ - -e '/^PREFIX=/s:=.*:=/usr:' \ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \ Makefile || die } +_emake() { + # gtk/llvm/xml is used by sparse which we don't install + emake \ + PREFIX="${EPREFIX}/usr" \ + V=1 \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + LD='$(CC)' \ + HAVE_GTK2=no \ + HAVE_LLVM=no \ + HAVE_LIBXML=no \ + "$@" +} + src_compile() { - emake PREFIX=/usr V=1 CC="$(tc-getCC)" smatch + _emake smatch +} + +src_test() { + _emake check } src_install() { 1.5 sys-devel/smatch/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/ChangeLog?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/ChangeLog?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/ChangeLog?r1=1.4&r2=1.5 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/smatch/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ChangeLog 3 Jan 2013 20:50:43 -0000 1.4 +++ ChangeLog 3 May 2014 16:30:04 -0000 1.5 @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/smatch -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/ChangeLog,v 1.4 2013/01/03 20:50:43 vapier Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/ChangeLog,v 1.5 2014/05/03 16:30:04 vapier Exp $ + +*smatch-1.59 (03 May 2014) + + 03 May 2014; Mike Frysinger <[email protected]> +smatch-1.59.ebuild, + smatch-9999.ebuild: + Version bump #509290 by MJJoker. *smatch-1.57-r1 (03 Jan 2013) 1.1 sys-devel/smatch/smatch-1.59.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/smatch-1.59.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/smatch/smatch-1.59.ebuild?rev=1.1&content-type=text/plain Index: smatch-1.59.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-1.59.ebuild,v 1.1 2014/05/03 16:30:04 vapier Exp $ EAPI="4" inherit toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://repo.or.cz/${PN}.git http://repo.or.cz/r/${PN}.git" inherit git-2 else SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz mirror://gentoo/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" fi DESCRIPTION="static analysis tool for C" HOMEPAGE="http://smatch.sourceforge.net/" LICENSE="OSL-1.1" SLOT="0" IUSE="" RDEPEND="dev-db/sqlite" DEPEND="${RDEPEND}" S=${WORKDIR}/${PN} src_prepare() { sed -i \ -e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \ Makefile || die } _emake() { # gtk/llvm/xml is used by sparse which we don't install emake \ PREFIX="${EPREFIX}/usr" \ V=1 \ AR="$(tc-getAR)" \ CC="$(tc-getCC)" \ LD='$(CC)' \ HAVE_GTK2=no \ HAVE_LLVM=no \ HAVE_LIBXML=no \ "$@" } src_compile() { _emake smatch } src_test() { _emake check } src_install() { # default install target installs a lot of sparse cruft dobin smatch insinto /usr/share/smatch/smatch_data doins smatch_data/* dodoc FAQ README }
