From 60398a111f78225913c798fcd77ab2385647dfca Mon Sep 17 00:00:00 2001 From: Gerhard Bräunlich Date: Mon, 19 Sep 2016 18:37:23 +0200 Subject: sci-mathematics/nusmv: Removing EAPI 0 ebuilds Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2271 Signed-off-by: David Seifert --- sci-mathematics/nusmv/Manifest | 6 -- sci-mathematics/nusmv/nusmv-2.3.1.ebuild | 121 --------------------------- sci-mathematics/nusmv/nusmv-2.5.0.ebuild | 133 ------------------------------ sci-mathematics/nusmv/nusmv-2.5.2.ebuild | 132 ------------------------------ sci-mathematics/nusmv/nusmv-2.5.3.ebuild | 132 ------------------------------ sci-mathematics/nusmv/nusmv-2.5.4.ebuild | 135 ------------------------------- 6 files changed, 659 deletions(-) delete mode 100644 sci-mathematics/nusmv/nusmv-2.3.1.ebuild delete mode 100644 sci-mathematics/nusmv/nusmv-2.5.0.ebuild delete mode 100644 sci-mathematics/nusmv/nusmv-2.5.2.ebuild delete mode 100644 sci-mathematics/nusmv/nusmv-2.5.3.ebuild delete mode 100644 sci-mathematics/nusmv/nusmv-2.5.4.ebuild (limited to 'sci-mathematics/nusmv') diff --git a/sci-mathematics/nusmv/Manifest b/sci-mathematics/nusmv/Manifest index 38fefd87d5bf..bc2d409f58b0 100644 --- a/sci-mathematics/nusmv/Manifest +++ b/sci-mathematics/nusmv/Manifest @@ -1,8 +1,2 @@ -DIST MiniSat_v1.14_src.zip 29428 SHA256 8e5e0ee84a770dcb3abd6fc65ed4aef938f9ffabca5ddc8a739029f7fb58a8f5 SHA512 451839f3b0508ccfc78a65bbdf3d6820d335aea43b32aa2e39168ff515f3eb6f74ab1297186f1a89dc69e4d8663a1479043fd10135faf2dbaf33269ff7b831e1 WHIRLPOOL dea39fd30ad7c4195c5fe07356890c6525744d59644aff89ce865269daa4ffbebbbba94fe929d0bf6df441e169e2fd974b5373a443d5c3fb410ec8d7dffd9cb2 -DIST NuSMV-2.3.1.tar.gz 2590944 SHA256 b8ba0f29afafdfdef8c30f722eead3ef6cbb17e4bfe5563240a01d8a99dbbf68 SHA512 24d258197ecfd314378f132c28722c6f91ee0ee10f5d67e51e924a682c03646b8700e28899eb8ab3ee67b231c26c2094c075b000d391adddfb82bb93a8dfc12b WHIRLPOOL c015aeeabff6fe0770a1d216ab783db0ea4d1915e09e2fa9ac2f470ffbcc6a89881f0e917c544598f7f6484a50b1216ca0e631084887c56bfc2efe29b8f82dbd -DIST NuSMV-2.5.0.tar.gz 3792968 SHA256 59310f5f23f72cb1ad16419e40f245db7c5aa41c0f59ba5c75732bb6c4b56ff1 SHA512 df38039011e4b334941f48f231344ad5b4280d34c27376ffeafd31e75760da28311248acb19591b243cbe356264bba5db813b91ebdc440624b5f5ecdcc6ac014 WHIRLPOOL b2e57f668194c2c506050e30709411b01bf9506c7d01c01960cd01a91782100395047bb45cc0c3e710cea7bf5443937cc5971e563ea163845df833a8b2298165 -DIST NuSMV-2.5.2.tar.gz 3631420 SHA256 bc41c53c266d41d7bcb92851fbdb07d894c246d1189bfe420301c7b4fca46de0 SHA512 678dd85a860744943e56a3fc02b3cccacc93fcbac064bcda079e612348b91876372a866e7236bdf12fb3c1dae9d727d3baaa23fa3f4cf5194497f06c87e00e9f WHIRLPOOL bb491869c997d1de09632986c03945c7e0e76173735bd07c18951030d3e61ab370ddd3dd9db9c585ede62768e1dd7d3465da418a0c29577e502a7f9afecbc9fe -DIST NuSMV-2.5.3.tar.gz 3951637 SHA256 d5d6b2873dfa6f82ff9bef1a7eefa36dc5070557aa2b0e0d53cc8c54b2fe437d SHA512 8233a621d3cfad17d0b8f77a33460089b5c0a9fa694e6d91cbd6eb334213cd8d9e37fce8755e9ebc066279f25e86dfa7ded0197f679e42b8f2e7c048cc93356a WHIRLPOOL ea8075f405324179a822b9abd78f2c5d2a0c62ac31d2682f2145db7b033e2cf30f3a466689d75814cc3bfc551471425097d17515b19742f298899a432daec249 -DIST NuSMV-2.5.4.tar.gz 3968258 SHA256 3c250624cba801b1f62f50733f9507b0f3b3ca557ce1cd65956178eb273f1bdf SHA512 fc3cc641bbdbfc9464947c9991c8d363adeed9ed34af215c092a14b32d5ce536cb2dbc4eee1645d5aa85caa85e6e95b695620fa247f3a22652cdc4cd252c4c79 WHIRLPOOL 5822d1e7d853cf78cbdee07b0dafa1216fd226ecad803533310351573c7e9a864e6bba699a16c1b357da458311bf65b7362b6207b63e0c8008123e63950121e1 DIST NuSMV-2.6.0.tar.gz 4223312 SHA256 dba953ed6e69965a68cd4992f9cdac6c449a3d15bf60d200f704d3a02e4bbcbb SHA512 3749e0267c2adffaa5f2f98ee925f5a774e3132277a02c549b3f4b836f8b090a44d6a14730b58251d7bb88055eb55e89f0eab7fea8714cb2f0786afd803efd0e WHIRLPOOL 26dfa45e0cb97807364783a574f5ec1d26e7240eec411bf1f674872c62e037d912e409dabbfb78fdd52a4a317297fc3918149efe1460dadc0e5d5d0a3cabfb28 DIST zchaff.64bit.2007.3.12.zip 63139 SHA256 9b88d8f366d0dc6b3cacd9d497e755d06af069ff27411870cc8b40fe0f11911f SHA512 075d0bceede6643a880763943cba9a2fa0f6c58c47b86c0a2bbbe86a2e3925dc5b3859800d1cab0c558d727635556beb77f9efbd0f2837a768ef8d513dc2b300 WHIRLPOOL ba62b561d415ea15f6734466a45760aba4fa45430f1baf904db5f15332bfc94797cbc2f9ebc2f77797bffc1489a54a527790f4f7314bf92871324e8e3cf0c0ab diff --git a/sci-mathematics/nusmv/nusmv-2.3.1.ebuild b/sci-mathematics/nusmv/nusmv-2.3.1.ebuild deleted file mode 100644 index 49764e298196..000000000000 --- a/sci-mathematics/nusmv/nusmv-2.3.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils toolchain-funcs - -NUSMV_PN="NuSMV" -NUSMV_PV="${PV}" -NUSMV_P="${NUSMV_PN}-${NUSMV_PV}" -NUSMV_A="${NUSMV_P}.tar.gz" -NUSMV_S="${WORKDIR}/${NUSMV_P}/nusmv" - -MINISAT_PN="MiniSat" -MINISAT_PV="1.14" -MINISAT_P="${MINISAT_PN}_v${MINISAT_PV}" -MINISAT_A="${MINISAT_P}_src.zip" -MINISAT_S="${WORKDIR}/${NUSMV_P}/MiniSat/${MINISAT_P}" - -CUDD_PN="cudd" -CUDD_PV="2.3.0.1" -CUDD_P="${CUDD_PN}-${CUDD_PV}" -#CUDD_A is none -CUDD_S="${WORKDIR}/${NUSMV_P}/${CUDD_P}" - -DESCRIPTION="NuSMV: new symbolic model checker" -HOMEPAGE="http://nusmv.irst.itc.it/" -# The Homepage is _very_ slow, 2Kb/sec or worse. -# So we use our own mirror. -# Additionally, MiniSat is distributed with a slightly different filename -# So we mirror it ourselves -SRC_URI="mirror://gentoo/${NUSMV_A} - http://nusmv.irst.itc.it/distrib/${NUSMV_A} - minisat? ( mirror://gentoo/${MINISAT_A} )" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="minisat examples" -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND} - virtual/latex-base - dev-texlive/texlive-latexextra - app-text/ghostscript-gpl - www-client/lynx - dev-lang/perl" -# the above 4 are for docs, which aren't optional yet patches welcome to -# avoid building the docs but I suspect anybody using this package will -# actually need them -S="${NUSMV_S}" - -src_unpack() { - unpack ${NUSMV_A} - if use minisat; then - cd "${WORKDIR}"/${NUSMV_P}/MiniSat - unpack ${MINISAT_A} - epatch ${MINISAT_P}_nusmv.patch - epatch "${FILESDIR}"/${MINISAT_P}-optimizedlib.patch - fi - for i in ${NUSMV_S}/doc/{user-man,tutorial}/Makefile.in ; do - sed -i.orig \ - '/install_sh_DATA/s!$(datadir)!$(DESTDIR)$(datadir)!g' \ - ${i} || die "sed $i failed" - done -} - -src_compile() { - rm -f ${NUSMV_S}/${MINISAT_P} - if use minisat; then - cd ${MINISAT_S} - # do NOT merge these targets - emake COPTIMIZE="${CFLAGS}" r || die "Failed to build minisat bin" - emake COPTIMIZE="${CFLAGS}" lr || die "Failed to build minisat lib" - ln -sf ${MINISAT_S} "${WORKDIR}"/${NUSMV_P}/${MINISAT_P} - fi - - cd ${CUDD_S} - emake clean || die "Failed to clean cudd out." - emake \ - CPP="$(tc-getCPP)" CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" ICFLAGS="${CFLAGS}" \ - || die "Failed to build cudd." - - cd ${NUSMV_S} - econf `use_enable minisat` \ - --enable-sa \ - --enable-sa-cpp \ - --enable-psl - emake || die "emake failed" - - VARTEXFONTS="${T}"/fonts emake docs -} - -src_install() { - into /usr - if use minisat; then - newbin ${MINISAT_S}/minisat_release minisat - fi - - dodir /usr/share/nusmv/doc - cd ${NUSMV_S} - emake DESTDIR="${D}" install || die "emake install failed" - # duplicate items - rm -f "${D}"/usr/share/nusmv/{LGPL-2.1,README*,NEWS} - # real docs - dodoc README* NEWS AUTHORS - dodoc doc/tutorial/tutorial.pdf - dodoc doc/user-man/nusmv.pdf - - # move package-installed docs - mv "${D}"/usr/share/nusmv/doc/* "${D}"/usr/share/doc/${PF}/ - rmdir "${D}"/usr/share/nusmv/doc - - # clean out examples if not needed - if use !examples ; then - rm -rf "${D}"/usr/share/nusmv/examples || die "Failed to remove examples" - fi -} - -src_test() { - cd ${NUSMV_S} - emake check || die "emake check failed" -} diff --git a/sci-mathematics/nusmv/nusmv-2.5.0.ebuild b/sci-mathematics/nusmv/nusmv-2.5.0.ebuild deleted file mode 100644 index 58220e1e95b6..000000000000 --- a/sci-mathematics/nusmv/nusmv-2.5.0.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils toolchain-funcs - -NUSMV_PN="NuSMV" -NUSMV_PV="${PV}" -NUSMV_P="${NUSMV_PN}-${NUSMV_PV}" -NUSMV_A="${NUSMV_P}.tar.gz" -NUSMV_S="${WORKDIR}/${NUSMV_P}/nusmv" - -MINISAT_PN="MiniSat" -MINISAT_PV="1.14" -MINISAT_P="${MINISAT_PN}_v${MINISAT_PV}" -MINISAT_A="${MINISAT_P}_src.zip" -MINISAT_S="${WORKDIR}/${NUSMV_P}/MiniSat/${MINISAT_P}" - -CUDD_PN="cudd" -CUDD_PV="2.4.1.1" -CUDD_P="${CUDD_PN}-${CUDD_PV}" -#CUDD_A is none -CUDD_S="${WORKDIR}/${NUSMV_P}/${CUDD_P}" - -DESCRIPTION="NuSMV: new symbolic model checker" -HOMEPAGE="http://nusmv.irst.itc.it/" -# The Homepage is _very_ slow, 2Kb/sec or worse. -# So we use our own mirror. -# Additionally, MiniSat is distributed with a slightly different filename -# So we mirror it ourselves -SRC_URI="mirror://gentoo/${NUSMV_A} - http://nusmv.irst.itc.it/distrib/${NUSMV_A} - minisat? ( mirror://gentoo/${MINISAT_A} )" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="minisat examples" -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND} - virtual/latex-base - dev-texlive/texlive-latexextra - app-text/ghostscript-gpl - www-client/lynx - dev-lang/perl" -# the above 4 are for docs, which aren't optional yet patches welcome to -# avoid building the docs but I suspect anybody using this package will -# actually need them -S="${NUSMV_S}" - -src_unpack() { - unpack ${NUSMV_A} - if use minisat; then - cd "${WORKDIR}"/${NUSMV_P}/MiniSat - unpack ${MINISAT_A} - epatch ${MINISAT_P}_nusmv.patch - epatch "${FILESDIR}"/${MINISAT_P}-optimizedlib.patch - epatch "${FILESDIR}"/${MINISAT_P}_gcc41.patch - fi - - cd "${CUDD_S}" - epatch "${FILESDIR}"/${CUDD_PN}-no-pentium4.patch - if [[ "$(tc-arch)" = amd64 ]] ; then - mv Makefile_64bit Makefile || die - fi - - for i in ${NUSMV_S}/doc/{user-man,tutorial}/Makefile.in ; do - sed -i.orig \ - '/install_sh_DATA/s!$(datadir)!$(DESTDIR)$(datadir)!g' \ - ${i} || die "sed $i failed" - done -} - -src_compile() { - rm -f ${NUSMV_S}/${MINISAT_P} - if use minisat; then - cd ${MINISAT_S} - # do NOT merge these targets - emake COPTIMIZE="${CFLAGS}" r || die "Failed to build minisat bin" - emake COPTIMIZE="${CFLAGS}" lr || die "Failed to build minisat lib" - ln -sf ${MINISAT_S} "${WORKDIR}"/${NUSMV_P}/${MINISAT_P} - fi - - cd ${CUDD_S} - emake clean || die "Failed to clean cudd out." - emake \ - CPP="$(tc-getCPP)" CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" ICFLAGS="${CFLAGS}" \ - || die "Failed to build cudd." - - local myconf="$(use_enable minisat) --enable-pslparser" - if use minisat; then - myconf="${myconf} - --with-minisat-incdir=../${MINISAT_P} - --with-minisat-libdir=../${MINISAT_P}" - fi - - cd ${NUSMV_S} - econf ${myconf} - emake || die "emake failed" - - VARTEXFONTS="${T}"/fonts emake docs -} - -src_install() { - into /usr - if use minisat; then - newbin ${MINISAT_S}/minisat_release minisat - fi - - dodir /usr/share/nusmv/doc - cd ${NUSMV_S} - emake DESTDIR="${D}" install || die "emake install failed" - # duplicate items - rm -f "${D}"/usr/share/nusmv/{LGPL-2.1,README*,NEWS} - # real docs - dodoc README* NEWS AUTHORS - dodoc doc/tutorial/tutorial.pdf - dodoc doc/user-man/nusmv.pdf - - # move package-installed docs - mv "${D}"/usr/share/nusmv/doc/* "${D}"/usr/share/doc/${PF}/ - rmdir "${D}"/usr/share/nusmv/doc - - # clean out examples if not needed - if use !examples ; then - rm -rf "${D}"/usr/share/nusmv/examples || die "Failed to remove examples" - fi -} - -src_test() { - cd ${NUSMV_S} - emake check || die "emake check failed" -} diff --git a/sci-mathematics/nusmv/nusmv-2.5.2.ebuild b/sci-mathematics/nusmv/nusmv-2.5.2.ebuild deleted file mode 100644 index 38ce8b01c809..000000000000 --- a/sci-mathematics/nusmv/nusmv-2.5.2.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils flag-o-matic toolchain-funcs - -NUSMV_PN="NuSMV" -NUSMV_PV="${PV}" -NUSMV_P="${NUSMV_PN}-${NUSMV_PV}" -NUSMV_A="${NUSMV_P}.tar.gz" -NUSMV_S="${WORKDIR}/${NUSMV_P}/nusmv" - -MINISAT_PN="MiniSat" -MINISAT_PV="1.14" -MINISAT_P="${MINISAT_PN}_v${MINISAT_PV}" -MINISAT_A="${MINISAT_P}_src.zip" -MINISAT_S="${WORKDIR}/${NUSMV_P}/MiniSat/${MINISAT_P}" - -CUDD_PN="cudd" -CUDD_PV="2.4.1.1" -CUDD_P="${CUDD_PN}-${CUDD_PV}" -#CUDD_A is none -CUDD_S="${WORKDIR}/${NUSMV_P}/${CUDD_P}" - -DESCRIPTION="NuSMV: new symbolic model checker" -HOMEPAGE="http://nusmv.irst.itc.it/" -SRC_URI="http://nusmv.fbk.eu/distrib/${NUSMV_A} - minisat? ( mirror://gentoo/${MINISAT_A} )" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="minisat examples" -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND} - virtual/latex-base - dev-texlive/texlive-latexextra - app-text/ghostscript-gpl - www-client/lynx - dev-lang/perl" -# the above 4 are for docs, which aren't optional yet patches welcome to -# avoid building the docs but I suspect anybody using this package will -# actually need them -S="${NUSMV_S}" - -src_unpack() { - unpack ${NUSMV_A} - if use minisat; then - cd "${WORKDIR}"/${NUSMV_P}/MiniSat - unpack ${MINISAT_A} - epatch ${MINISAT_P}_nusmv.patch - epatch "${FILESDIR}"/${MINISAT_P}-optimizedlib.patch - epatch "${FILESDIR}"/${MINISAT_P}_gcc41.patch - fi - - cd "${CUDD_S}" - if [[ "$(tc-arch)" = amd64 ]] ; then - mv Makefile_64bit Makefile || die - fi - sed -i Makefile -e 's/-mcpu=[^\s]*//' || die - - for i in ${NUSMV_S}/doc/{user-man,tutorial}/Makefile.in ; do - sed -i.orig \ - '/install_sh_DATA/s!$(datadir)!$(DESTDIR)$(datadir)!g' \ - ${i} || die "sed $i failed" - done -} - -src_compile() { - if [[ "$(tc-arch)" = x86 ]] ; then - append-flags -DNUSMV_SIZEOF_VOID_P=4 -DNUSMV_SIZEOF_LONG=4 -DNUSMV_SIZEOF_INT=4 - fi - - rm -f ${NUSMV_S}/${MINISAT_P} - if use minisat; then - cd ${MINISAT_S} - # do NOT merge these targets - emake COPTIMIZE="${CFLAGS}" r || die "Failed to build minisat bin" - emake COPTIMIZE="${CFLAGS}" lr || die "Failed to build minisat lib" - ln -sf ${MINISAT_S} "${WORKDIR}"/${NUSMV_P}/${MINISAT_P} - fi - - cd ${CUDD_S} - emake clean || die "Failed to clean cudd out." - emake \ - CPP="$(tc-getCPP)" CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" ICFLAGS="${CFLAGS}" \ - || die "Failed to build cudd." - - local myconf="$(use_enable minisat) --enable-pslparser" - if use minisat; then - myconf="${myconf} - --with-minisat-incdir=../${MINISAT_P} - --with-minisat-libdir=../${MINISAT_P}" - fi - - cd ${NUSMV_S} - econf ${myconf} - emake || die "emake failed" - - VARTEXFONTS="${T}"/fonts emake docs -} - -src_install() { - into /usr - if use minisat; then - newbin ${MINISAT_S}/minisat_release minisat - fi - - dodir /usr/share/nusmv/doc - cd ${NUSMV_S} - emake DESTDIR="${D}" install || die "emake install failed" - # duplicate items - rm -f "${D}"/usr/share/nusmv/{LGPL-2.1,README*,NEWS} - # real docs - dodoc README* NEWS AUTHORS - dodoc doc/tutorial/tutorial.pdf - dodoc doc/user-man/nusmv.pdf - - # move package-installed docs - mv "${D}"/usr/share/nusmv/doc/* "${D}"/usr/share/doc/${PF}/ - rmdir "${D}"/usr/share/nusmv/doc - - # clean out examples if not needed - if use !examples ; then - rm -rf "${D}"/usr/share/nusmv/examples || die "Failed to remove examples" - fi -} - -src_test() { - cd ${NUSMV_S} - emake check || die "emake check failed" -} diff --git a/sci-mathematics/nusmv/nusmv-2.5.3.ebuild b/sci-mathematics/nusmv/nusmv-2.5.3.ebuild deleted file mode 100644 index 9fa6a28a8923..000000000000 --- a/sci-mathematics/nusmv/nusmv-2.5.3.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils flag-o-matic toolchain-funcs - -NUSMV_PN="NuSMV" -NUSMV_PV="${PV}" -NUSMV_P="${NUSMV_PN}-${NUSMV_PV}" -NUSMV_A="${NUSMV_P}.tar.gz" -NUSMV_S="${WORKDIR}/${NUSMV_P}/nusmv" - -MINISAT_PN="MiniSat" -MINISAT_PV="1.14" -MINISAT_P="${MINISAT_PN}_v${MINISAT_PV}" -MINISAT_A="${MINISAT_P}_src.zip" -MINISAT_S="${WORKDIR}/${NUSMV_P}/MiniSat/${MINISAT_P}" - -CUDD_PN="cudd" -CUDD_PV="2.4.1.1" -CUDD_P="${CUDD_PN}-${CUDD_PV}" -#CUDD_A is none -CUDD_S="${WORKDIR}/${NUSMV_P}/${CUDD_P}" - -DESCRIPTION="NuSMV: new symbolic model checker" -HOMEPAGE="http://nusmv.irst.itc.it/" -SRC_URI="http://nusmv.fbk.eu/distrib/${NUSMV_A} - minisat? ( mirror://gentoo/${MINISAT_A} )" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="minisat examples" -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND} - virtual/latex-base - dev-texlive/texlive-latexextra - app-text/ghostscript-gpl - www-client/lynx - dev-lang/perl" -# the above 4 are for docs, which aren't optional yet patches welcome to -# avoid building the docs but I suspect anybody using this package will -# actually need them -S="${NUSMV_S}" - -src_unpack() { - unpack ${NUSMV_A} - if use minisat; then - cd "${WORKDIR}"/${NUSMV_P}/MiniSat - unpack ${MINISAT_A} - epatch ${MINISAT_P}_nusmv.patch - epatch "${FILESDIR}"/${MINISAT_P}-optimizedlib.patch - epatch "${FILESDIR}"/${MINISAT_P}_gcc41.patch - fi - - cd "${CUDD_S}" - if [[ "$(tc-arch)" = amd64 ]] ; then - mv Makefile_64bit Makefile || die - fi - sed -i Makefile -e 's/-mcpu=[^\s]*//' || die - - for i in ${NUSMV_S}/doc/{user-man,tutorial}/Makefile.in ; do - sed -i.orig \ - '/install_sh_DATA/s!$(datadir)!$(DESTDIR)$(datadir)!g' \ - ${i} || die "sed $i failed" - done -} - -src_compile() { - if [[ "$(tc-arch)" = x86 ]] ; then - append-flags -DNUSMV_SIZEOF_VOID_P=4 -DNUSMV_SIZEOF_LONG=4 -DNUSMV_SIZEOF_INT=4 - fi - - rm -f ${NUSMV_S}/${MINISAT_P} - if use minisat; then - cd ${MINISAT_S} - # do NOT merge these targets - emake COPTIMIZE="${CFLAGS}" r || die "Failed to build minisat bin" - emake COPTIMIZE="${CFLAGS}" lr || die "Failed to build minisat lib" - ln -sf ${MINISAT_S} "${WORKDIR}"/${NUSMV_P}/${MINISAT_P} - fi - - cd ${CUDD_S} - emake clean || die "Failed to clean cudd out." - emake \ - CPP="$(tc-getCPP)" CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" ICFLAGS="${CFLAGS}" \ - || die "Failed to build cudd." - - local myconf="$(use_enable minisat) --enable-pslparser" - if use minisat; then - myconf="${myconf} - --with-minisat-incdir=../${MINISAT_P} - --with-minisat-libdir=../${MINISAT_P}" - fi - - cd ${NUSMV_S} - econf ${myconf} - emake || die "emake failed" - - VARTEXFONTS="${T}"/fonts emake docs -} - -src_install() { - into /usr - if use minisat; then - newbin ${MINISAT_S}/minisat_release minisat - fi - - dodir /usr/share/nusmv/doc - cd ${NUSMV_S} - emake DESTDIR="${D}" install || die "emake install failed" - # duplicate items - rm -f "${D}"/usr/share/nusmv/{LGPL-2.1,README*,NEWS} - # real docs - dodoc README* NEWS AUTHORS - dodoc doc/tutorial/tutorial.pdf - dodoc doc/user-man/nusmv.pdf - - # move package-installed docs - mv "${D}"/usr/share/nusmv/doc/* "${D}"/usr/share/doc/${PF}/ - rmdir "${D}"/usr/share/nusmv/doc - - # clean out examples if not needed - if use !examples ; then - rm -rf "${D}"/usr/share/nusmv/examples || die "Failed to remove examples" - fi -} - -src_test() { - cd ${NUSMV_S} - emake check || die "emake check failed" -} diff --git a/sci-mathematics/nusmv/nusmv-2.5.4.ebuild b/sci-mathematics/nusmv/nusmv-2.5.4.ebuild deleted file mode 100644 index 1f08cca70b7f..000000000000 --- a/sci-mathematics/nusmv/nusmv-2.5.4.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils flag-o-matic toolchain-funcs - -NUSMV_PN="NuSMV" -NUSMV_PV="${PV}" -NUSMV_P="${NUSMV_PN}-${NUSMV_PV}" -NUSMV_A="${NUSMV_P}.tar.gz" -NUSMV_S="${WORKDIR}/${NUSMV_P}/nusmv" - -MINISAT_PN="MiniSat" -MINISAT_PV="1.14" -MINISAT_P="${MINISAT_PN}_v${MINISAT_PV}" -MINISAT_A="${MINISAT_P}_src.zip" -MINISAT_S="${WORKDIR}/${NUSMV_P}/MiniSat/${MINISAT_P}" - -CUDD_PN="cudd" -CUDD_PV="2.4.1.1" -CUDD_P="${CUDD_PN}-${CUDD_PV}" -#CUDD_A is none -CUDD_S="${WORKDIR}/${NUSMV_P}/${CUDD_P}" - -DESCRIPTION="NuSMV: new symbolic model checker" -HOMEPAGE="http://nusmv.irst.itc.it/" -SRC_URI="http://nusmv.fbk.eu/distrib/${NUSMV_A} - minisat? ( mirror://gentoo/${MINISAT_A} )" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="minisat examples" -RDEPEND="dev-libs/expat" -DEPEND="${RDEPEND} - virtual/latex-base - dev-texlive/texlive-latexextra - app-text/ghostscript-gpl - www-client/lynx - dev-lang/perl" -# the above 4 are for docs, which aren't optional yet patches welcome to -# avoid building the docs but I suspect anybody using this package will -# actually need them -S="${NUSMV_S}" - -src_unpack() { - unpack ${NUSMV_A} - if use minisat; then - cd "${WORKDIR}"/${NUSMV_P}/MiniSat - unpack ${MINISAT_A} - epatch ${MINISAT_P}_nusmv.patch - epatch "${FILESDIR}"/${MINISAT_P}-optimizedlib.patch - epatch "${FILESDIR}"/${MINISAT_P}_gcc41.patch - fi - - cd "${CUDD_S}" - if [[ "$(tc-arch)" = amd64 ]] ; then - mv Makefile_64bit Makefile || die - fi - sed -i Makefile -e 's/-mcpu=[^\s]*//' || die - - for i in ${NUSMV_S}/doc/{user-man,tutorial}/Makefile.in ; do - sed -i.orig \ - '/install_sh_DATA/s!$(datadir)!$(DESTDIR)$(datadir)!g' \ - ${i} || die "sed $i failed" - done -} - -src_compile() { - if [[ "$(tc-arch)" = x86 ]] ; then - append-flags -DNUSMV_SIZEOF_VOID_P=4 -DNUSMV_SIZEOF_LONG=4 -DNUSMV_SIZEOF_INT=4 - fi - # With LTO, it tried to link for 6 hours on an i7 system before failing. - filter-flags -flto -Wl,-flto - - rm -f ${NUSMV_S}/${MINISAT_P} - if use minisat; then - cd ${MINISAT_S} - # do NOT merge these targets - emake COPTIMIZE="${CFLAGS}" r || die "Failed to build minisat bin" - emake COPTIMIZE="${CFLAGS}" lr || die "Failed to build minisat lib" - ln -sf ${MINISAT_S} "${WORKDIR}"/${NUSMV_P}/${MINISAT_P} - fi - - cd ${CUDD_S} - emake clean || die "Failed to clean cudd out." - emake \ - CPP="$(tc-getCPP)" CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" ICFLAGS="${CFLAGS}" \ - || die "Failed to build cudd." - - local myconf="$(use_enable minisat) --enable-pslparser" - if use minisat; then - myconf="${myconf} - --with-minisat-incdir=../${MINISAT_P} - --with-minisat-libdir=../${MINISAT_P}" - fi - - cd ${NUSMV_S} - econf ${myconf} - einfo "Don't be alarmed if compileWriteUdg.o takes a very long time to compile, ~90 minutes on an i7" - emake || die "emake failed" - - VARTEXFONTS="${T}"/fonts emake docs -} - -src_install() { - into /usr - if use minisat; then - newbin ${MINISAT_S}/minisat_release minisat - fi - - dodir /usr/share/nusmv/doc - cd ${NUSMV_S} - emake DESTDIR="${D}" install || die "emake install failed" - # duplicate items - rm -f "${D}"/usr/share/nusmv/{LGPL-2.1,README*,NEWS} - # real docs - dodoc README* NEWS AUTHORS - dodoc doc/tutorial/tutorial.pdf - dodoc doc/user-man/nusmv.pdf - - # move package-installed docs - mv "${D}"/usr/share/nusmv/doc/* "${D}"/usr/share/doc/${PF}/ - rmdir "${D}"/usr/share/nusmv/doc - - # clean out examples if not needed - if use !examples ; then - rm -rf "${D}"/usr/share/nusmv/examples || die "Failed to remove examples" - fi -} - -src_test() { - cd ${NUSMV_S} - emake check || die "emake check failed" -} -- cgit v1.2.3-18-g5258