From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-libs/freesteam/Manifest | 8 ++++ sci-libs/freesteam/files/freesteam-flags.patch | 28 +++++++++++++ .../files/freesteam-soname-symlinks.patch | 39 ++++++++++++++++++ sci-libs/freesteam/freesteam-2.0.ebuild | 46 +++++++++++++++++++++ sci-libs/freesteam/freesteam-9999.ebuild | 47 ++++++++++++++++++++++ sci-libs/freesteam/metadata.xml | 11 +++++ 6 files changed, 179 insertions(+) create mode 100644 sci-libs/freesteam/Manifest create mode 100644 sci-libs/freesteam/files/freesteam-flags.patch create mode 100644 sci-libs/freesteam/files/freesteam-soname-symlinks.patch create mode 100644 sci-libs/freesteam/freesteam-2.0.ebuild create mode 100644 sci-libs/freesteam/freesteam-9999.ebuild create mode 100644 sci-libs/freesteam/metadata.xml (limited to 'sci-libs/freesteam') diff --git a/sci-libs/freesteam/Manifest b/sci-libs/freesteam/Manifest new file mode 100644 index 000000000000..3b9e6662d0ca --- /dev/null +++ b/sci-libs/freesteam/Manifest @@ -0,0 +1,8 @@ +AUX freesteam-flags.patch 726 SHA256 d4eccef5ccf0a345271f912715fc888ac948868c0a9e86a555d2eda25a1b1299 SHA512 08fdb64d64f90e7191732195f5f50515efc0a3838d85a17ad10bd588629091f04fec61c50fc780d6efa9d84e595b5cfba4a0f67b757db10d315eca87c98c323d WHIRLPOOL 10ba7326ea714e21673c61667ee9c5b7bbd84fa2d250713d90817651d197aef6ae6fe42b87726cb97e9d2afa59609af41fc0f687fcfb547a2429b2d90a03f385 +AUX freesteam-soname-symlinks.patch 1473 SHA256 cd05e197249150a156d02b30eb7251e15a2f0e2263a9517e1b22e4b8d845c24c SHA512 8aec90dc35af857286fbb2f53a9a1f2215641a27f16d73b009685036467747e30dd8a7ea37cb4b46f8875ecbe82a7ae5e42627b85edcc17ba61c9e84ffd00b7d WHIRLPOOL c9f02fc58422e03187d457c53120eff829d6ef1494425bb94f628679c02cd5e0c6b8a56257f82a4dbc74e378b21e8a25d1716d6c1dc1c59b5db7198818e030de +DIST freesteam-2.0.tar.bz2 80838 SHA256 9c21768648ec4faffeb536fdcde039f3e02d9e413f85e19234c285c64808ffad SHA512 32c69a5b6665c62c566fb1c6e4b349ec820028a0a431532a39d0f8d07c2a474c1d41b166dff5e05087a94b58066084a0a369a5f3f6531df1021596c6252325f8 WHIRLPOOL 33781bc07e20572de53ad272dc7e5dbc159f9c80fc21845860cf738249167e6e0c03e6c0d8c3e6e9f20dd6cf95a2d246208af3e3895d10313e0bc31df5bb6537 +EBUILD freesteam-2.0.ebuild 788 SHA256 eb7b9edd95fec7bd41780d6e0459f6b819f53ba2a09a872f6212d74cee461742 SHA512 3b4e1994630574c716c69bd7a03333df298bac8b06ffc1c7232178fd435abc0bc72d82c49c2618c5b2688902e5a97b588a0fd02020658a953399c99cb53eb3e1 WHIRLPOOL 45048b054f92ee7c3f0555dc922cd5b24aafac18b12e539327edfcea02c1c0a58fd2f718d05e749126b0ea16b704fceccd9c94fb25badfb4d3987604d4919a52 +EBUILD freesteam-9999.ebuild 808 SHA256 7c77396806a8096543b1e5a1c35edab7a48c87a77f47e1bc41a75be6e4d4d3e4 SHA512 c9ade950e139b984e676b05ead2cad59a8da7d5d2c5d00a97962bcd031f9b4f4a8e63eab8a15641e43da9ae3736d4be4631837d8055c8ea99da095b8273468a2 WHIRLPOOL d5626c9091df58c7e3e4bad3086c39ab77e58469151dd034a8471ac03487f2aacb64e75533dfba5e6d3998f1f5ddcdb9d9543d99fe4b065e41799c72fa12b8a7 +MISC ChangeLog 2989 SHA256 129858e7f006e088ce1fab08a506b0beac9906cd01d36dd97cf6defd9e645f30 SHA512 8705be053dd6ca8007dfc8e6de95ec941009e30f05cbf88b683018f0a639faaa1b9b7d6cd1b738c9411e74025dab4c5123c41968e9a483138cdd9807cd0e3a08 WHIRLPOOL c391e539dcf390e719507c0caf3dab6bf362f3e31fd17196ecde88d32afe6b661c75631ea87e70875c402f35a2a89dfd91cef456079c981a2b6be812506d72b0 +MISC ChangeLog-2015 746 SHA256 3295b86072fdb7bbecf2ec93c3e3bff67cb9a9248c315cac897509bc26886685 SHA512 4715ce0574551bacf9d4caf4af26a860e645656142f739695638d24513f94cf721808b0a3ec7938824992e5b4d1f3fa53942a7d9d977bce2437496bdffd22077 WHIRLPOOL af7733365fe746a1db13525095039beac4191533e43e7dd1dabc842e011bb7a8002c778a71ac4cbf8d7dc71f0266a5f30f7abf021780bfa05cf2a8301729bc4a +MISC metadata.xml 336 SHA256 8547776370893eb7fd146988890905752893c17d1df408c7bab81c6fe761e2e9 SHA512 a0c11e2d2258d3488c185235d362b03bab7cd85fb25b936c078dcd0464abf6c26fd94fe10a4ec267e0ad8eab6c49dbabf1883e5a3d174d03e1fa22c8cdc7dc73 WHIRLPOOL a4539e08943cae54008e20abdab956cb4507720c6e210f955c0c12be3ac6f8e9ca1c9cac73117240338f15fc987f11f1f34200be2a73c8263c9586489eabcce1 diff --git a/sci-libs/freesteam/files/freesteam-flags.patch b/sci-libs/freesteam/files/freesteam-flags.patch new file mode 100644 index 000000000000..615bdc050321 --- /dev/null +++ b/sci-libs/freesteam/files/freesteam-flags.patch @@ -0,0 +1,28 @@ +From 6a68348f4b1fb755724e1df34bff4d6986d07dab Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 26 Nov 2011 22:30:15 +0100 +Subject: [PATCH] Merge CFLAGS and LDFLAGS from the environment. + +--- + SConstruct | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/SConstruct b/SConstruct +index 9dc17f5..e529e88 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -194,6 +194,11 @@ SConsEnvironment.InstallLibraryAs = lambda env, dest, files: InstallPermAs(env, + + vars.Update(env) + ++# Merge environment CFLAGS & LDFLAGS ++ ++env.MergeFlags([os.environ.get('CFLAGS', ''), ++ os.environ.get('LDFLAGS', '')]) ++ + #---------------- + # SWIG + +-- +1.7.8.rc3.31.g017d.dirty + diff --git a/sci-libs/freesteam/files/freesteam-soname-symlinks.patch b/sci-libs/freesteam/files/freesteam-soname-symlinks.patch new file mode 100644 index 000000000000..dbd8b2a64c26 --- /dev/null +++ b/sci-libs/freesteam/files/freesteam-soname-symlinks.patch @@ -0,0 +1,39 @@ +From dd03d6b29fd29f9978022291f0c023e4fe5dd345 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 26 Nov 2011 23:18:37 +0100 +Subject: [PATCH] Fix SONAME symlinks - make them relative. + +--- + SConstruct | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/SConstruct b/SConstruct +index 1794691..d84a13a 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -5,7 +5,7 @@ + # We don't currently propose to support building freesteam from MSVS but + # that shouldn't be necessary, as you should be able to use the MinGW-generated + # DLL even with MSVS, because it only uses C code. +-import platform, sys, distutils.sysconfig, os ++import platform, sys, distutils.sysconfig, os, os.path + + #version number for this copy of freesteam + version = "2.1" +@@ -436,11 +436,11 @@ else: + + install_link1 = None + if env.subst(link1) != env.subst(libname): +- install_link1 = env.Command("${INSTALL_ROOT}"+link1,install_lib,"ln -s %s $TARGET" % libname) ++ install_link1 = env.Command("${INSTALL_ROOT}"+link1,install_lib,"ln -s %s $TARGET" % os.path.basename(libname)) + + install_link2 = None + if env.get("SONAME_MINOR"): +- install_link2 = env.Command("${INSTALL_ROOT}"+link2,install_lib,"ln -s %s $TARGET"%libname) ++ install_link2 = env.Command("${INSTALL_ROOT}"+link2,install_lib,"ln -s %s $TARGET"%os.path.basename(libname)) + + env['installedfiles'] += [install_link1, install_link2] + +-- +1.7.8.rc3.31.g017d.dirty + diff --git a/sci-libs/freesteam/freesteam-2.0.ebuild b/sci-libs/freesteam/freesteam-2.0.ebuild new file mode 100644 index 000000000000..92f6e685bc00 --- /dev/null +++ b/sci-libs/freesteam/freesteam-2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib scons-utils toolchain-funcs + +DESCRIPTION="Open source implementation of IF97 steam tables" +HOMEPAGE="http://freesteam.sourceforge.net/" +SRC_URI="mirror://sourceforge/freesteam/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sci-libs/gsl" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-flags.patch + "${FILESDIR}"/${PN}-soname-symlinks.patch + epatch_user +} + +src_configure() { + myesconsargs=( + INSTALL_PREFIX=/usr + INSTALL_LIB=/usr/$(get_libdir) + INSTALL_ROOT="${D}" + + CC="$(tc-getCC)" + SWIG=false + ) + + mkdir -p "${D}" || die +} + +src_compile() { + escons +} + +src_install() { + escons install +} diff --git a/sci-libs/freesteam/freesteam-9999.ebuild b/sci-libs/freesteam/freesteam-9999.ebuild new file mode 100644 index 000000000000..939afc9dfe20 --- /dev/null +++ b/sci-libs/freesteam/freesteam-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib scons-utils toolchain-funcs subversion + +DESCRIPTION="Open source implementation of IF97 steam tables" +HOMEPAGE="http://freesteam.sourceforge.net/" +SRC_URI="" +ESVN_REPO_URI="https://svn.code.sf.net/p/freesteam/code/trunk" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="sci-libs/gsl" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-flags.patch + "${FILESDIR}"/${PN}-soname-symlinks.patch + epatch_user +} + +src_configure() { + myesconsargs=( + INSTALL_PREFIX=/usr + INSTALL_LIB=/usr/$(get_libdir) + INSTALL_ROOT="${D}" + + CC="$(tc-getCC)" + SWIG=false + ) + + mkdir -p "${D}" || die +} + +src_compile() { + escons +} + +src_install() { + escons install +} diff --git a/sci-libs/freesteam/metadata.xml b/sci-libs/freesteam/metadata.xml new file mode 100644 index 000000000000..a8f3c63c1bf6 --- /dev/null +++ b/sci-libs/freesteam/metadata.xml @@ -0,0 +1,11 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + freesteam + + -- cgit v1.2.3