From fc2c8b325a27d1dd0e181a50517601b4fde8aa7f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 9 Nov 2022 09:25:48 +0000 Subject: gentoo auto-resync : 09:11:2022 - 09:25:48 --- sci-libs/inchi/Manifest | 2 +- sci-libs/inchi/inchi-1.06-r1.ebuild | 75 +++++++++++++++++++++++++++++++++++++ sci-libs/inchi/inchi-1.06.ebuild | 75 ------------------------------------- 3 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 sci-libs/inchi/inchi-1.06-r1.ebuild delete mode 100644 sci-libs/inchi/inchi-1.06.ebuild (limited to 'sci-libs/inchi') diff --git a/sci-libs/inchi/Manifest b/sci-libs/inchi/Manifest index 5f351e82c445..3fa8b8b37dbf 100644 --- a/sci-libs/inchi/Manifest +++ b/sci-libs/inchi/Manifest @@ -4,5 +4,5 @@ DIST inchi-1.04.zip 2701930 BLAKE2B 12e5153fdefffdd97794b3942936f93742729cd195a1 DIST inchi-1.06-doc.zip 4143516 BLAKE2B 10daaffe40c1ce523ec1f51e090d4cb0080f17ee103859a872eb2a5606b06e84b25459c3ed0492e5009d4898caef36ce251c34bea8148ee773e4c9bff7f0ba3d SHA512 df31014d21d46498e3bcde85d8c782a23193225e8d3b6ba7f6e31816c935c8ea1a60b2472fb0cd81733a47ae71918de973324ccd20a49fea3808bdfed92e6850 DIST inchi-1.06.zip 2931129 BLAKE2B 9ae317b359e886c5e16f6c5f2ef6037c1b9f46b4928b1cb372d7dc4ec9f50e695bd58424eb30c75b823f8c12d392a4aa0070161c43a448e6a078d2427df8c956 SHA512 56248030f30b0fa065cb783353cc9eab0da0e39b580a54120e9fca0a2ad8a0cfc85da1ea81b6231e48cfd59a3a5d81e1c6310778d913c21ec3f2e72d6a7fad8a EBUILD inchi-1.04-r1.ebuild 1623 BLAKE2B d2213f27ab2c9a2860d45a7b9c84c517a87ef41a19f14de3837b839f84b35c5d70745001bddb5479bb57b73dcb7cd62feccf799b470f849af36c9aa113182f69 SHA512 6be6a4716a60cfb0667aa35b956fd53ad3f77bbe164866d9f7ccb73ca88ad289221842f4fc681881a638acc92b43e6db232cc448cf1460399a7d78d1603fdd6a -EBUILD inchi-1.06.ebuild 1980 BLAKE2B f05c265d0cbc1257da381f5671d784025076223024e641f266013c51a43c35fef1d9db92d3548275630f1d248ef34a1942e151774d563383fabbddf7aa62319a SHA512 f1080cb04b8b95fda7f1e7907e67be0d3a12960cffb9c2dd91326d28f6ae4323a3a030bc30a6c1fbd2b3ae087cf2bbc338adbee70d1cea08a306d01d555c6050 +EBUILD inchi-1.06-r1.ebuild 2017 BLAKE2B 9aabb9838f356a1554892c815c19c5494c6e92cddc498e7e078cb31e63963b79027d3855d4260738bb5217991ad231100fb02d7c323a3975fc68e580d1187075 SHA512 fa4f01aaf5a225bd513ade6f751a19a828ce4a59fda1274ca79d804d18fd2e9382c04a0d4277989256dd1a12d4859b644f813bd6cf306119652495bdd5b64046 MISC metadata.xml 272 BLAKE2B 531e98b72776bbe9126811b70943add0f6f43141b01cb75b17ac2c8d1cfb6a9b349022fd411894d2b8eeb0612a73db10aed4ba71f9624bd6dbd172a05fca2c76 SHA512 04f5575703aaaa95e575460ae3de428d3da173b3b741ab52b4aad31e381fef78b325f49f99622ec26a65024437759ea013fc525bd63ee553003c71afcc40d10c diff --git a/sci-libs/inchi/inchi-1.06-r1.ebuild b/sci-libs/inchi/inchi-1.06-r1.ebuild new file mode 100644 index 000000000000..48d6556426ff --- /dev/null +++ b/sci-libs/inchi/inchi-1.06-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Program and library for generating standard and non-standard InChI and InChIKeys" +HOMEPAGE="https://www.iupac.org/inchi/" +SRC_URI=" + https://www.inchi-trust.org/download/${PV//.}/INCHI-1-SRC.zip -> ${P}.zip + doc? ( https://www.inchi-trust.org/download/${PV//.}/INCHI-1-DOC.zip -> ${P}-doc.zip ) +" +S="${WORKDIR}/INCHI-1-SRC" + +LICENSE="IUPAC-InChi" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +BDEPEND="app-arch/unzip" + +src_compile() { + local common_opts target_opts + + append-cflags \${P_INCL} -ansi -DCOMPILE_ANSI_ONLY -fPIC -c + append-cxxflags \${P_INCL} -ansi -frtti -c + + common_opts=( + C_COMPILER="$(tc-getCC)" + CPP_COMPILER="$(tc-getCXX)" + AR="$(tc-getAR)" + RANLIB="$(tc-getRANLIB)" + LINKER="$(tc-getCXX)" + SHARED_LINK="$(tc-getCC)" + SHARED_LINK_PARM="${LDFLAGS} -shared " + ISLINUX=1 + ) + + # Compile the library + target_opts=( + LINKER_OPTIONS="${LDFLAGS} " + C_OPTIONS="${CFLAGS} -DTARGET_API_LIB -D_LIB -D_XOPEN_SOURCE=500 " #874696 + CPP_OPTIONS="${CXXFLAGS} -DTARGET_API_LIB -D_LIB " + CREATE_MAIN= + ) + emake -C INCHI_API/libinchi/gcc "${common_opts[@]}" "${target_opts[@]}" + + pushd "INCHI_API/bin/Linux" || die + ln -s libinchi.so.1 libinchi.so || die + popd > /dev/null || die + + # Compile the executable + target_opts=( + LINKER_OPTIONS="${LDFLAGS} -L${S}/INCHI_API/bin/Linux -linchi " + C_COMPILER_OPTIONS="${CFLAGS} -DTARGET_EXE_STANDALONE " + CPP_COMPILER_OPTIONS="${CXXFLAGS} -DTARGET_EXE_STANDALONE " + CREATE_MAIN= + ) + emake -C INCHI_EXE/inchi-1/gcc "${common_opts[@]}" "${target_opts[@]}" + +} + +src_install() { + dodoc readme*.txt + if use doc ; then + pushd "${WORKDIR}/INCHI-1-DOC" || die + docinto doc + dodoc *.pdf readme.txt + popd || die + fi + dobin "${S}/INCHI_EXE/bin/Linux/inchi-1" + dolib.so "${S}/INCHI_API/bin/Linux/"lib*so* + doheader "${S}/INCHI_BASE/src/"{inchi_api,ixa}.h +} diff --git a/sci-libs/inchi/inchi-1.06.ebuild b/sci-libs/inchi/inchi-1.06.ebuild deleted file mode 100644 index 96578dc57371..000000000000 --- a/sci-libs/inchi/inchi-1.06.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Program and library for generating standard and non-standard InChI and InChIKeys" -HOMEPAGE="https://www.iupac.org/inchi/" -SRC_URI=" - https://www.inchi-trust.org/download/${PV//.}/INCHI-1-SRC.zip -> ${P}.zip - doc? ( https://www.inchi-trust.org/download/${PV//.}/INCHI-1-DOC.zip -> ${P}-doc.zip ) -" -S="${WORKDIR}/INCHI-1-SRC" - -LICENSE="IUPAC-InChi" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -BDEPEND="app-arch/unzip" - -src_compile() { - local common_opts target_opts - - append-cflags \${P_INCL} -ansi -DCOMPILE_ANSI_ONLY -fPIC -c - append-cxxflags \${P_INCL} -ansi -frtti -c - - common_opts=( - C_COMPILER=$(tc-getCC) - CPP_COMPILER=$(tc-getCXX) - AR="$(tc-getAR)" - RANLIB="$(tc-getRANLIB)" - LINKER="$(tc-getCXX)" - SHARED_LINK="$(tc-getCC)" - SHARED_LINK_PARM="${LDFLAGS} -shared " - ISLINUX=1 - ) - - # Compile the library - target_opts=( - LINKER_OPTIONS="${LDFLAGS} " - C_OPTIONS="${CFLAGS} -DTARGET_API_LIB -D_LIB " - CPP_OPTIONS="${CXXFLAGS} -DTARGET_API_LIB -D_LIB " - CREATE_MAIN= - ) - emake -C INCHI_API/libinchi/gcc "${common_opts[@]}" "${target_opts[@]}" - - pushd "INCHI_API/bin/Linux" || die - ln -s libinchi.so.1 libinchi.so || die - popd > /dev/null || die - - # Compile the executable - target_opts=( - LINKER_OPTIONS="${LDFLAGS} -L${S}/INCHI_API/bin/Linux -linchi " - C_COMPILER_OPTIONS="${CFLAGS} -DTARGET_EXE_STANDALONE " - CPP_COMPILER_OPTIONS="${CXXFLAGS} -DTARGET_EXE_STANDALONE " - CREATE_MAIN= - ) - emake -C INCHI_EXE/inchi-1/gcc "${common_opts[@]}" "${target_opts[@]}" - -} - -src_install() { - dodoc readme*.txt - if use doc ; then - pushd "${WORKDIR}/INCHI-1-DOC" || die - docinto doc - dodoc *.pdf readme.txt - popd || die - fi - dobin "${S}/INCHI_EXE/bin/Linux/inchi-1" - dolib.so "${S}/INCHI_API/bin/Linux/"lib*so* - doheader "${S}/INCHI_BASE/src/inchi_api.h" -} -- cgit v1.2.3