diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2015-02-21 16:36:59 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2015-02-21 16:36:59 +0000 |
commit | 840a9c9ec0048ff1f3411694b3fbd30d6361f543 (patch) | |
tree | b06bf562da27c7dd314dc4cc741cd070898dfd7a /sci-electronics | |
parent | version bump (bug #517600) (diff) | |
download | historical-840a9c9ec0048ff1f3411694b3fbd30d6361f543.tar.gz historical-840a9c9ec0048ff1f3411694b3fbd30d6361f543.tar.bz2 historical-840a9c9ec0048ff1f3411694b3fbd30d6361f543.zip |
Keyworded ~amd64, bump EAPI (bug #540804), fixed Homepage (bug #533864).
Thanks J. Stein and M. Rueger for reporting.
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Manifest-Sign-Key: 0x762053D5
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/balsa/ChangeLog | 10 | ||||
-rw-r--r-- | sci-electronics/balsa/Manifest | 22 | ||||
-rw-r--r-- | sci-electronics/balsa/balsa-4.0-r1.ebuild | 155 |
3 files changed, 180 insertions, 7 deletions
diff --git a/sci-electronics/balsa/ChangeLog b/sci-electronics/balsa/ChangeLog index 785e262401bc..efaae55281a6 100644 --- a/sci-electronics/balsa/ChangeLog +++ b/sci-electronics/balsa/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/balsa -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v 1.17 2013/06/07 16:20:48 mr_bones_ Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/ChangeLog,v 1.18 2015/02/21 16:36:48 tomjbe Exp $ + +*balsa-4.0-r1 (21 Feb 2015) + + 21 Feb 2015; Thomas Beierlein <tomjbe@gentoo.org> +balsa-4.0-r1.ebuild: + Keyworded ~amd64, bump EAPI (bug #540804), fixed Homepage (bug #533864). + Thanks J. Stein and M. Rueger for reporting. 07 Jun 2013; Michael Sterrett <mr_bones_@gentoo.org> -balsa-3.5.ebuild: clean old version diff --git a/sci-electronics/balsa/Manifest b/sci-electronics/balsa/Manifest index 10966a233813..1215fab7155b 100644 --- a/sci-electronics/balsa/Manifest +++ b/sci-electronics/balsa/Manifest @@ -1,10 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 4.0-datadir.patch 2318 SHA256 3c77aa00d2a5e50ca736842f5540de9e276df752e02e0498837fe0da2ed8a0ff SHA512 afaefd4df693da6e512956c0a261e0af915a4acc5397ce01f55042ca46a4d6504fe85d747c056ccc98705de862e99ccbd865de0aa3f60a3579bfd6ff5b31fd20 WHIRLPOOL 39bde8052a7f7fd521a274666e86d896851c6599d86f4d7236b4fca48cb2f8f6ce286126b3295c13fffe6695d8e1d0f7812a1f699af22f9ac3596f550d821023 AUX 4.0-ldflags.patch 556 SHA256 1c8050e8f78d871980f8ec5247aaedcd0328ddec7350f697bf976c91f52b4ad0 SHA512 545f861c4a73cee5cc029f57863dc025d00888382106a23f7db40ac00c39bfd51a05475366b9e574f877aff33200b15f2295a217cf9d45bf702248b776cb48e1 WHIRLPOOL 1909c6bac3a6447b24592662e2fe998cddf77ebf304e89bb1fe22e64006c1a7700c2432530a930da9c3551e00266e988f43ccd69e044a4b8e60a976c164ae9b1 AUX 4.0-libdir.patch 1383 SHA256 35cadc286414b4ce10f2b4c8dcf153dab1eaf08243b999b5ac09bf6ddf429b1e SHA512 5d253a9e2cccb4517c6a96452c4df89852d062a3b6d49e9b10edb99ac45acbe714a54cbda3d118259af6d39440ae1d7d1792ef31cf546ae0da94a68c54d92d52 WHIRLPOOL e3b5d5494472b75f65ac22c094a841cdceed60a2178ec94f821d989ba28f67ab369dc81d5ad18a86b6f79516dc2588d5512bc2857cdc250023681980b43fc5c1 -DIST balsa-4.0.tar.gz 2828800 SHA256 ae69842dd698e4b97fe3d78c125c40ebda8ba1879a086b5beb135103d3ee3d34 -DIST balsa-sim-verilog-4.0.tar.gz 301397 SHA256 972f3151b2e37e56bd4c5210de263d006dcf8913e3e757ad0623cedc0c821fef -DIST balsa-tech-example-4.0.tar.gz 137704 SHA256 495cb6adb6759e8c5eb2b87ac4ea530f3b5598d19985ed673e4ba180fb18f78a -DIST balsa-tech-xilinx-4.0.tar.gz 159683 SHA256 2ca6cc877bef0406a4d219e2ca1c66932d3c725b23b19eef7123b124ad673e5f +DIST balsa-4.0.tar.gz 2828800 SHA256 ae69842dd698e4b97fe3d78c125c40ebda8ba1879a086b5beb135103d3ee3d34 SHA512 b1eab622d9d256970257e512b130deff4a69c996c178d7158fbe6c8bd3e27e4212176c328f92e943564fc92c9b210387fad12c6034d3878db18e95c715300355 WHIRLPOOL b7e09ae89e62f7feb99a6f48a7b11087913359d60eb6dcf7953eee5b1a77d17d8f6a140962d12d500d13ca06181e3281a87a0422eb46ad773f88b8e86771b969 +DIST balsa-sim-verilog-4.0.tar.gz 301397 SHA256 972f3151b2e37e56bd4c5210de263d006dcf8913e3e757ad0623cedc0c821fef SHA512 48b17a0c8f11264726b50cdcf5431794a05feabac238af1270402131787aae6a5316d918a96caaee6d173de9d37c59356c55e1cd4d0c8e31b997922c82a65e20 WHIRLPOOL d11b0b51b6d0613bc5b23c9efd16933c343fdb3c5658e59f816144f8b8936b31ba52c8c38c9819c1a4beeef43ce92402ba0f5827292e0c4d0b3c85b3aea2b9e6 +DIST balsa-tech-example-4.0.tar.gz 137704 SHA256 495cb6adb6759e8c5eb2b87ac4ea530f3b5598d19985ed673e4ba180fb18f78a SHA512 99124da0d937f4683fcf7f0ab5c7811af739044f93657120e5494d8ac0a1f12a0ef32742bbd8469428f34ee1d5271f1e36476541d533950f2940e363e4eb5d4d WHIRLPOOL 97917e2d752378fc577b1b4779d6257117f1b83aa70c805025680734e44a9a7f9cd12dd477778113bd1c40c33eaa571b0b245b506d769731f768f667155474a2 +DIST balsa-tech-minimal-4.0.tar.gz 67628 SHA256 70b83163d75e4bc5876d9f74442e1ed89b4b88fa5436166ee68d85be086c242f SHA512 fd1a76be3cb84bd5885f7b5f6831dc65e7cf08b77c38c0f2092a9edaf9d6b1121c43e5654e4cdff059e2c2bdbf9e6b1dfd9b159034758b4e3d1f8b54de9945bb WHIRLPOOL 198e4e7e7f6de982ff3406a99e257c032c153a70bce44f028305ef66a0194687782c6e87b265975a6d5afc8bfbaec4e1e21bb74f1a6d1ddc815cfa89c6205ba9 +DIST balsa-tech-xilinx-4.0.tar.gz 159683 SHA256 2ca6cc877bef0406a4d219e2ca1c66932d3c725b23b19eef7123b124ad673e5f SHA512 dc0c343d8810fd115338ab6cf3c465da059e16105237d0edb657700b35f3836e2fa5e932c1e8ca2b8b34955a257a9e48539cf532c0582f089fc5973d797f4f5c WHIRLPOOL 9f3ad1a5fb4bdb5398613f1120491f8195ef92059dce8c156a4011ff14ccc104d9cb3245a7f9e781966356323d363cf0f6620d9ad6aff623bc832ef6a56483b8 +EBUILD balsa-4.0-r1.ebuild 4149 SHA256 b13e45b16ad2a357e6b1f98033da14138b480f0da8067748fdf6c77bfec3dd82 SHA512 f07538484c79734d7935be65e116bb6b9d70ed0728ec78cab2ee05fbe6012c79234248fe8ce55815b2c5ccf3daf2e1cd4bf48ce77aaafa87010109f24b01e99e WHIRLPOOL ef02a907c9856601b4d0cb059c8b4a4fc6d50841391a7ccce0a93b4dc97698545d74ba2bcceddf3ed90f7aa5bc60e5de0dc8e6a3e459dd7f99ec37f712d13e7e EBUILD balsa-4.0.ebuild 3866 SHA256 24db5ffbde7894dd24e5fe5b586e2db9c3f1c50ab0e50823547d2eed248b8d93 SHA512 4e1778da71d8fb76b49ab66a71d9d790d492400872f74253f1f0232c3cca6992f090897786280033df2d3a66639811671f1b722f834f34f2ee8f832c658d3ef1 WHIRLPOOL e920cf4a4e3ff2a514be7eb77a9ac1b354a02ccbe93dd0c1c080727a8c5bd78ec2692740857213bc1dfa3a4ceb75874f29c2d3b898f66a598fcde57570ea04c9 -MISC ChangeLog 4840 SHA256 269b0e4f64087fb4e814e546b9de14f96668ae3ea887456ad380126e123eb4e2 SHA512 04e85416db70cc38cf644ca01da0fe79cdb2da9d9106c3791fef1d9c9ab96ceec39096335b3ab0d38f8777828703a1782af96763bb2c34f855a8df41621520de WHIRLPOOL 5190c5d660a0b340eb25aa3ccbbf6a5c17594b77fb77903e5dbe60a1f4054bd38c755dd2409f8a0ea9bc63dedca6f2c9a6b52dfdc5d16392a05a2ac4729b6278 +MISC ChangeLog 5063 SHA256 2b3f0ad0343611396b1c05657551d6e7cb7a94a60a82b500abd38f585c45eb57 SHA512 19dd657985219d61a82a5610a90a6312831f193772aba81ff3a7fde524f0af580b88e78a1e245763fbd6504b5d2c2b0fd5fefa541edeb654a7fe81ffcd5d7e2c WHIRLPOOL 0a738503843d0eafa35a6593e734e119e04bd2df353ad2a87dbd91dfb34d9bcd2b78081cbc51c38ace19f61d6fde18c906a3616cb1ccb92cb98b83877bca479f MISC metadata.xml 609 SHA256 cea0434b9789aca6fcc80095c7216c4e05ae591f72421db00da7af21a9470468 SHA512 8d23602798dba59ab4105612656d4781aa78ad744dcd250d543515f080808b63d5ca594c2b1911d91e6ca7b11497a218b5e0d19c1194d7d2ed73be3b50406a77 WHIRLPOOL c993147debac6f49c6f6eaebb5dfb3ea286adc42731fae92a094f9e7181db5ab2822113354288aa7f3910ef0f559c10fd6de0ad008bd2c12e3898d97e16e381e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlTotCcACgkQQe4uqXYgU9WaugCgrT5g+EC4UeQcehgd9/BmpNLp +KFMAnR2kWgV+7ak8UPYQuDIgS3rmDY2F +=stCK +-----END PGP SIGNATURE----- diff --git a/sci-electronics/balsa/balsa-4.0-r1.ebuild b/sci-electronics/balsa/balsa-4.0-r1.ebuild new file mode 100644 index 000000000000..3d107062a22b --- /dev/null +++ b/sci-electronics/balsa/balsa-4.0-r1.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/balsa/balsa-4.0-r1.ebuild,v 1.1 2015/02/21 16:36:48 tomjbe Exp $ + +EAPI="5" + +inherit autotools eutils multilib toolchain-funcs + +DESCRIPTION="The Balsa asynchronous synthesis system" +HOMEPAGE="http://apt.cs.manchester.ac.uk/projects/tools/balsa/" +SRC_URI=" + http://apt.cs.manchester.ac.uk/ftp/pub/apt/balsa/${PV}/${P}.tar.gz + http://apt.cs.manchester.ac.uk/ftp/pub/apt/balsa/${PV}/${PN}-sim-verilog-${PV}.tar.gz + http://apt.cs.manchester.ac.uk/ftp/pub/apt/balsa/${PV}/${PN}-tech-minimal-${PV}.tar.gz + http://apt.cs.manchester.ac.uk/ftp/pub/apt/balsa/${PV}/${PN}-tech-example-${PV}.tar.gz + http://apt.cs.manchester.ac.uk/ftp/pub/apt/balsa/${PV}/${PN}-tech-xilinx-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + dev-lang/perl + dev-libs/gmp:0 + sci-electronics/gplcver + sci-electronics/iverilog + x11-libs/gtk+:2" +RDEPEND="${DEPEND} + dev-scheme/guile + media-gfx/graphviz + sci-electronics/espresso-ab + sci-electronics/gtkwave " + +BALSA_TECH_AMS="balsa-tech-ams-20030506.tar.gz" + +if [ -f "${DISTDIR}"/${BALSA_TECH_AMS} ]; then + TECH_AMS=1 +fi + +src_unpack() { + unpack ${A} + if [ $TECH_AMS ]; then + unpack ${BALSA_TECH_AMS} + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-libdir.patch + epatch "${FILESDIR}"/${PV}-datadir.patch + epatch "${FILESDIR}"/${PV}-ldflags.patch + eautoreconf + sed -i -e "s:\(DEFAULT_INCLUDES = \)\(.*\):\1-I"${S}"/src/libs/ \2/:" "${WORKDIR}"/balsa-sim-verilog-${PV}/libs/Makefile.in || die + sed -i -e 's/ $(bindir)/ $(DESTDIR)$(bindir)/' "${S}"/bin/Makefile.in || die + sed -i -e 's/ $(balsatypesdir)/ $(DESTDIR)$(balsatypesdir)/' "${S}"/share/balsa/types/Makefile.in || die + sed -i -e 's/ $(balsasimdir)/ $(DESTDIR)$(balsasimdir)/' "${S}"/share/balsa/sim/Makefile.in || die +} + +src_configure() { + tc-export CXX + econf +} + +src_compile() { + # compile balsa + einfo "Compiling balsa" + chmod +x bin/balsa-config + PATH="$PATH:"${S}"/bin" + emake -j1 + + # the additional packages have to be configured after compiling + # balsa binaries + + # configure AMS035 tech + if [ $TECH_AMS ]; then + einfo "Compiling AMS035 tech" + cd "${WORKDIR}"/balsa-tech-ams-20030506 + econf + fi + + # config Xilinx FPGA backend + einfo "Compiling Xilinx FPGA backend" + cd "${WORKDIR}"/balsa-tech-xilinx-${PV} + econf + + # config example tech + einfo "Compiling tech example" + cd "${WORKDIR}"/balsa-tech-example-${PV} + econf + + # config minimal tech + einfo "Compiling tech example" + cd "${WORKDIR}"/balsa-tech-minimal-${PV} + econf + + # config verilog simulator wrappers + einfo "Compiling verilog simulator wrappers" + cd "${WORKDIR}"/balsa-sim-verilog-${PV} + econf \ + --includedir="${S}"/src/libs/balsasim \ + --with-icarus-includes=/usr/include \ + --with-icarus-libs=/usr/$(get_libdir) \ + --with-cver-includes=/usr/include/cver_pli_incs +} + +src_install() { + # install balsa + emake DESTDIR="${D}" install + + if [ $TECH_AMS ]; then + einfo "Installing AMS035 tech" + cd "${WORKDIR}"/balsa-tech-ams-20030506 + emake DESTDIR="${D}" install + fi + + einfo "Installing Xilinx FPGA tech" + cd "${WORKDIR}"/balsa-tech-xilinx-${PV} + emake DESTDIR="${D}" install + + einfo "Installing example tech" + cd "${WORKDIR}"/balsa-tech-example-${PV} + emake DESTDIR="${D}" install + + einfo "Installing minimal tech" + cd "${WORKDIR}"/balsa-tech-minimal-${PV} + emake DESTDIR="${D}" install + + einfo "Installing verilog simulator wrappers" + cd "${WORKDIR}"/balsa-sim-verilog-${PV} + DESTDIR="${D}" emake install + + # fix paths + cd "${D}" + einfo "Fixing paths" + find . -type f -exec sed -i -e "s:${D}::" {} \; + find . -name "sed*" -exec rm -f {} \; + + # add some docs + cd "${S}" + dodoc AUTHORS NEWS README TODO + + # fix collisions + rm -f "${D}"/usr/bin/libtool +} + +pkg_postinst() { + if [ ! $TECH_AMS ]; then + elog "The AMS035 tech library was not installed." + elog "If you have the appropriate licenses request" + elog "the tech support files directly from balsa@cs.man.ac.uk" + elog "and add them to /usr/portage/distfiles before emerging." + else + elog "The AMS035 tech library was found and installed." + fi +} |