mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
sci-mathematics/frama-c-*: drop 23.1 and 24.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e
|
||||
DIST frama-c-24.0-Chromium.tar.gz 7495244 BLAKE2B 249739b55f7d25c75175d31e1703bd3dc160399bc2f10157b09528ec82c7487455b4aef3d248da94e89b7a027c073ad4d8674361899159084e7d84dfa00664a4 SHA512 3ab3070104c7e521c7e94492f85522e6dee4433b1ebed6f5c0d63f4329f8eb66a8f91d467cbd877da138936dfdde1b5b9abcb6bcf01ba0a551fc83c748fac235
|
||||
DIST frama-c-25.0-Manganese.tar.gz 7670862 BLAKE2B 74c6ed8b0ca25053876da9433f5fde23d535bbd451e2e419ffe4b4dd40b08914172ae9edecd556e9d1badea5f08b92a760bb49cf9b4149b7f545b7f128e7cbef SHA512 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools findlib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Spare code plugin for frama-c"
|
||||
HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-users-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
touch config_file || die
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-landmarks \
|
||||
--with-no-plugin \
|
||||
--disable-gui \
|
||||
--enable-sparecode \
|
||||
--enable-users \
|
||||
--enable-callgraph \
|
||||
--enable-eva \
|
||||
--enable-server \
|
||||
--enable-pdg \
|
||||
--enable-from-analysis
|
||||
printf 'include share/Makefile.config\n' > src/plugins/sparecode/Makefile || die
|
||||
sed -e '/^# *Sparecode :/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/sparecode/Makefile || die
|
||||
printf 'include share/Makefile.dynamic\n' >> src/plugins/sparecode/Makefile || die
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR
|
||||
emake -f src/plugins/sparecode/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f src/plugins/sparecode/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools findlib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Spare code plugin for frama-c"
|
||||
HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-users-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
touch config_file || die
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-landmarks \
|
||||
--with-no-plugin \
|
||||
--disable-gui \
|
||||
--enable-sparecode \
|
||||
--enable-users \
|
||||
--enable-callgraph \
|
||||
--enable-eva \
|
||||
--enable-server \
|
||||
--enable-pdg \
|
||||
--enable-from-analysis
|
||||
printf 'include share/Makefile.config\n' > src/plugins/sparecode/Makefile || die
|
||||
sed -e '/^# *Sparecode :/bl;d' -e ':l' -e '/^\$(eval/Q;n;bl' < Makefile >> src/plugins/sparecode/Makefile || die
|
||||
printf 'include share/Makefile.dynamic\n' >> src/plugins/sparecode/Makefile || die
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR
|
||||
emake -f src/plugins/sparecode/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f src/plugins/sparecode/Makefile FRAMAC_SHARE="${FRAMAC_SHARE}" FRAMAC_LIBDIR="${FRAMAC_LIBDIR}" DESTDIR="${ED}" install
|
||||
}
|
||||
Reference in New Issue
Block a user