diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2016-02-14 13:19:20 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2016-02-14 13:19:20 -0800 |
commit | 176294332a535060a996d6097aeb20d21732963a (patch) | |
tree | 7fac9a16076de317801562f6da5a84d175d37047 | |
parent | Add a Synopsys Installer ebuild (diff) | |
download | palmer-176294332a535060a996d6097aeb20d21732963a.tar.gz palmer-176294332a535060a996d6097aeb20d21732963a.tar.bz2 palmer-176294332a535060a996d6097aeb20d21732963a.zip |
Add a Synopsys Custom Designer ebuild
This is the one part that doesn't quite work: OpenAccess doesn't find my
system name correctly so I need to link over an "unknown_64" directory.
3 files changed, 37 insertions, 0 deletions
diff --git a/sci-electronics/synopsys-customdesigner/.synopsys-customdesigner-2014.12.2.ebuild.swp b/sci-electronics/synopsys-customdesigner/.synopsys-customdesigner-2014.12.2.ebuild.swp Binary files differnew file mode 100644 index 0000000..f738f95 --- /dev/null +++ b/sci-electronics/synopsys-customdesigner/.synopsys-customdesigner-2014.12.2.ebuild.swp diff --git a/sci-electronics/synopsys-customdesigner/Manifest b/sci-electronics/synopsys-customdesigner/Manifest new file mode 100644 index 0000000..c208499 --- /dev/null +++ b/sci-electronics/synopsys-customdesigner/Manifest @@ -0,0 +1,4 @@ +DIST customdesigner_vJ-2014.12-SP2-2_SI32.tar 10240 SHA256 197370223987d2b6a755a3c1b672d85328b08ed9f068c537dbe4240234fe269f SHA512 f389afea0306ba20c291f6962c837e73d8420791a242a7461f8c07b60494e33d7ed6ee84dc845d31b3319923a6006f97ddd806eb8a3b7827a4a684b97566b24f WHIRLPOOL 416e3872dc6aece516686773dbbd0c938026ef289ab66a0aa1d91998b79dba0096824c120801a5cb6114e20f8c1e032047cf46de63b8afd3f192f049a52197cd +DIST customdesigner_vJ-2014.12-SP2-2_amd64.spf 1135073280 SHA256 62090b3fcbdbed04d4ece6a8f6c2de4864d223c6a804f5c5fafd4d3e6bb92d36 SHA512 d4970437f15fb9827edf74132d99d2f2a9ed6e4cfbb0086f45c623c85687e93647f0395d27b35b27ba94199d28b10d7804d4210dde984f670e896f1884653e57 WHIRLPOOL 628d5bb04d3e6570bcec90c50af1438f6d59d12f1a7c48390f88a9e4da99aeb9bd28ae1328726f4811254354ab75e8c93f3c235fca1616caebc9abadff1bdfe8 +DIST customdesigner_vJ-2014.12-SP2-2_common.spf 640522240 SHA256 c1f489935c95281f9fed7459c033e7b12f17a5b17458cdeabb2bca20dbfea9d0 SHA512 700aa151e28d1f56ad1a7f7d9b0142134043ac63b04ad4d6f760f02dc2740553de55b94f186a8d748d8860eb59dd9157a21d98c6c493ea144ddc5483e97de1a5 WHIRLPOOL 1c76c90999bcef223bdeec0f9a59215752edf608ebda342e7290460f8f1983141bf982b6246cfe3cc00a2d38048321465878a5e7475f3ad2b0b4f04672e4f57d +EBUILD synopsys-customdesigner-2014.12.2.ebuild 917 SHA256 be13fe7ab7c133d98ed5769bbed8c2273bf99fe6c019a94f8e3f69f133f3e217 SHA512 7e38f9e334a9828122091b91171686f7676714789e6ab0777072f269daace8636f75f35adcb623aabcc7be508b485679f3dd404d62052995b86ee8a8e9319d3c WHIRLPOOL d0c5b49d227189013a9f161b39dead7b467cda1d863c8333494679fcfa7e6485d149319e90769364e28aa1d8fbbd7539ec7fcc2e49817f6b0e5000a9bfc7cb1a diff --git a/sci-electronics/synopsys-customdesigner/synopsys-customdesigner-2014.12.2.ebuild b/sci-electronics/synopsys-customdesigner/synopsys-customdesigner-2014.12.2.ebuild new file mode 100644 index 0000000..87b8311 --- /dev/null +++ b/sci-electronics/synopsys-customdesigner/synopsys-customdesigner-2014.12.2.ebuild @@ -0,0 +1,33 @@ +EAPI=5 +inherit user + +DESCRIPTION="Synopsys's Software Installer" +HOMEPAGE="http://www.synopsys.com/install" +SRC_URI="customdesigner_vJ-2014.12-SP2-2_amd64.spf customdesigner_vJ-2014.12-SP2-2_SI32.tar customdesigner_vJ-2014.12-SP2-2_common.spf" +RESTRICT="fetch strip" + +LICENSE="" +SLOT="${PV}" +KEYWORDS="~amd64" +IUSE="" + +INSTALLER_VERSION="3.2" + +DEPEND="sci-electronics/synopsys-installer:${INSTALLER_VERSION}" +RDEPEND="${DEPEND}" + +src_unpack() { + mkdir -p "${S}" + cd ${DISTDIR} + cp --reflink=auto ${A} ${S} +} + +src_install() { + INSTALLER_HOME="${EPREFIX}/opt/synopsys/installer/${INSTALLER_VERSION}" + PRODUCT="$(echo ${PN} | cut -d- -f2)" + ${INSTALLER_HOME}/installer -install_as_root -batch_installer -source ${S} -target ${ED}/opt/synopsys + test -d ${ED}/opt/synopsys/${PRODUCT} || die "installer failed" + + cd ${ED}/opt/synopsys/${PRODUCT}/*/amd64/OA/lib + ln -s $(find * -maxdepth 0 -type d) unknown_64 +} |