diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
commit | 6957f5c65b02bba533954eabc0b62f5de36be206 (patch) | |
tree | 21d8ab8f61dffd9cccc82d0badb68982516a6855 /sci-mathematics/cvc3 | |
parent | e91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff) |
gentoo resync : 10.04.2018
Diffstat (limited to 'sci-mathematics/cvc3')
-rw-r--r-- | sci-mathematics/cvc3/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/cvc3/cvc3-2.4.1.ebuild | 156 |
2 files changed, 0 insertions, 157 deletions
diff --git a/sci-mathematics/cvc3/Manifest b/sci-mathematics/cvc3/Manifest index 45bbc825e95e..4d49fd332b25 100644 --- a/sci-mathematics/cvc3/Manifest +++ b/sci-mathematics/cvc3/Manifest @@ -2,5 +2,4 @@ AUX 50cvc3-gentoo.el 164 BLAKE2B 629cac93ab691b3379b6cdba9a24b2f426405a8606acac9 AUX cvc3-2.4.1-gccv6-fix.patch 2907 BLAKE2B 8f3b8dfcfb834fa899195e5e3195c9dad94b1359a3b1e19e98cc65a0ab0b2df2516ee064ac2c7c825def61c8fbd3dc5af6a88a3461a0c73b6a9e4e971848fc4e SHA512 1e4e54820aa0ff256bc12916be1219961848430d3448ac4e04d4dcab5ba3ef1e056cad1a3c68ba5e9ff4f0f48c5a92e1b2e9e7eb14837265b166abe1228005cf DIST cvc3-2.4.1.tar.gz 1196616 BLAKE2B 8d3f7cbd24a1ba7e558fa8f91f9dd8f3fdc1aee3dd0d0e460bfb6e7922ae54cebaad3696912d3d0fb735ce1f6d00ac32a7d65c0b01af870124e48d9c96855aac SHA512 48e5cd82b3eb7506d762c2abc8db0c8fbc548575a1362dda53888075ac105a5bc0f0d58dfe01b60f207bc00ff8dfc39a5b3d9317784fe551658c884bb02e1ff2 EBUILD cvc3-2.4.1-r1.ebuild 4298 BLAKE2B 4d4343b9de4774081a3f1470121e7bafd34793664671df478613b611123daed10523bb555301de9976237007974abeb5ccf5ca2c26d3f63d4648343065082f26 SHA512 7cc46232b5f2aa148967e13796ed6ba689e5b98bce5677a9efb1492bd97af7a6bf5e6c48d648e15d8e5b035f73a0a8930b66d903c2a57fdc8cabc756681dd252 -EBUILD cvc3-2.4.1.ebuild 4240 BLAKE2B a21e44617197a211352d934d33af8c4c86445e9c60d84af3fb74466875fe66aa31f36b530172bf448ff024f337c81cd87a4a593f924ef05f71dd236aaa82f741 SHA512 31329c448ca916bf2c26f712399b85e5da447649850bfef83c0b3c2ae3ac18e531189fa42295c47eb2c24780f7e8fea612ec6af50ee91efb89594baec7208706 MISC metadata.xml 1806 BLAKE2B 640e42b6b1b85ddf30c9b17ad9b8f8817921c5b7e76cc1431fd582873524725ec2ccbe9537a2b95ec74b7022455e38f755c7a128cec2bfad31e9aec3325d9fa5 SHA512 7717a3e172f56cdac0c6716e2c776578fc5e5ee35dad288c605d28034eca54049414e7450d9b2a7d17869f3cdd0da41f61e407c5cd52fef2f3fa225e3e99133f diff --git a/sci-mathematics/cvc3/cvc3-2.4.1.ebuild b/sci-mathematics/cvc3/cvc3-2.4.1.ebuild deleted file mode 100644 index 4352e6377d2c..000000000000 --- a/sci-mathematics/cvc3/cvc3-2.4.1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit elisp-common - -DESCRIPTION="CVC3 is a theorem prover for Satisfiability Modulo Theories (SMT) problems" -HOMEPAGE="http://www.cs.nyu.edu/acsys/cvc3/index.html" -SRC_URI="http://www.cs.nyu.edu/acsys/cvc3/releases/2.4.1/${P}.tar.gz" - -LICENSE="BSD MIT HPND zchaff? ( zchaff )" -RESTRICT="mirror zchaff? ( bindist )" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc emacs isabelle test zchaff" - -RDEPEND="dev-libs/gmp:0= - isabelle? ( - >=sci-mathematics/isabelle-2011.1-r1:= - )" -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen - media-gfx/graphviz - ) - emacs? ( - virtual/emacs - )" - -SITEFILE=50${PN}-gentoo.el - -src_prepare() { - sed -e 's#prefix=@prefix@#prefix=$(patsubst %/,%,$(DESTDIR))@prefix@#' \ - -e 's#libdir=@libdir@#libdir=$(patsubst %/,%,$(DESTDIR))@libdir@#' \ - -e 's#mandir=@mandir@#mandir=$(patsubst %/,%,$(DESTDIR))@mandir@#' \ - -i "${S}/Makefile.local.in" \ - || die "Could not set DESTDIR in Makefile.local.in" -} - -src_configure() { - # --enable-static disables building of shared libraries, statically - # links /usr/bin/cvc3 and installs static libraries. - # --enable-static --enable-sharedlibs behaves the same as just --enable-static - econf \ - --enable-dynamic \ - $(use_enable zchaff) - - if use test; then - sed -e 's@LD_LIBS = @LD_LIBS = -L'"${S}"'/lib -Wl,-R'"${S}"'/lib @' \ - -i "${S}/test/Makefile" \ - || die "Could not set library paths in test/Makefile" - fi -} - -src_compile() { - emake - - if use doc; then - pushd doc || die "Could not cd to doc" - emake - popd - fi - - if use emacs ; then - pushd "${S}/emacs" || die "Could change directory to emacs" - elisp-compile *.el || die "emacs elisp compile failed" - popd - fi - - if use test; then - pushd test || die "Could not cd to test" - emake - popd - fi -} - -src_test() { - pushd test || die "Could not cd to test" - ./bin/test || die "tests failed" - popd -} - -src_install() { - emake DESTDIR="${D}" install - - if use doc; then - pushd "${S}"/doc/html || die "Could not cd to doc/html" - dohtml *.html - insinto /usr/share/doc/${PF}/html - doins *.css *.gif *.png - popd - fi - - if use emacs ; then - elisp-install ${PN} emacs/*.{el,elc} - cp "${FILESDIR}"/${SITEFILE} "${S}" - elisp-site-file-install ${SITEFILE} - fi - - if use isabelle; then - ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \ - || die "isabelle getenv ISABELLE_HOME failed" - [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty" - dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - cat <<- EOF >> "${S}/settings" - CVC3_COMPONENT="\$COMPONENT" - CVC3_HOME="${ROOT}usr/bin" - CVC3_SOLVER="\$CVC3_HOME/cvc3" - CVC3_REMOTE_SOLVER="cvc3" - CVC3_INSTALLED="yes" - EOF - insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc" - doins "${S}/settings" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen - if use isabelle; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${ROOT}etc/isabelle/components" - fi - cat <<- EOF >> "${ROOT}etc/isabelle/components" - contrib/${PN}-${PV} - EOF - fi - fi - if use zchaff; then - einfo "This copy of CVC3 is also configured to use the SAT solver zchaff whose" - einfo "copyright is owned by Princeton University and is more restrictive." - einfo "Specifically, it may be used for internal, noncommercial, research purposes" - einfo "only. See the copyright notices from the zchaff source files which are" - einfo "included in the LICENSE file." - einfo "To build CVC3 without these files, please build cvc3 without the zchaff" - einfo "use flag (note: zchaff is disabled by default):" - einfo "USE=-zchaff emerge sci-mathemathematics/cvc3" - fi -} - -pkg_postrm() { - use emacs && elisp-site-regen - if use isabelle; then - if [ ! -f "${ROOT}usr/bin/cvc3" ]; then - if [ -f "${ROOT}etc/isabelle/components" ]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new CVC3 being installed during an upgrade. - sed -e "/contrib\/${PN}-${PV}/d" \ - -i "${ROOT}etc/isabelle/components" - fi - fi - fi -} |