-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
http://repo.or.cz/r/${PN}.git"
- inherit git-2
+ inherit git-r3
fi
DESCRIPTION="static analysis tool for C"
#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"
+ S=${WORKDIR}/${PN}
fi
LICENSE="OSL-1.1"
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
epatch "${FILESDIR}"/${P}-restrict.patch
sed -i \
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
http://repo.or.cz/r/${PN}.git"
- inherit git-2
+ inherit git-r3
fi
DESCRIPTION="static analysis tool for C"
#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"
+ S=${WORKDIR}/${PN}
fi
LICENSE="OSL-1.1"
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
sed -i \
-e '/^PREFIX=/s:=.*:=/usr:' \
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
http://repo.or.cz/r/${PN}.git"
- inherit git-2
+ inherit git-r3
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"
+ S=${WORKDIR}/${PN}
fi
DESCRIPTION="static analysis tool for C"
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
sed -i \
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
http://repo.or.cz/r/${PN}.git"
- inherit git-2
+ inherit git-r3
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"
+ S=${WORKDIR}/${PN}
fi
DESCRIPTION="static analysis tool for C"
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
-S=${WORKDIR}/${PN}
-
src_prepare() {
sed -i \
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \