summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-04-29 11:33:27 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2012-04-29 11:33:27 +0000
commitb20d732ac5e55d0b4e0901af31632749c1a2bdfe (patch)
tree87e9b1b4552dd5c05fd294d0019df527afb63cb3 /sci-physics
parentInitial commit (diff)
downloadhistorical-b20d732ac5e55d0b4e0901af31632749c1a2bdfe.tar.gz
historical-b20d732ac5e55d0b4e0901af31632749c1a2bdfe.tar.bz2
historical-b20d732ac5e55d0b4e0901af31632749c1a2bdfe.zip
[sci-physics/sassena] Initial import
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/sassena/ChangeLog10
-rw-r--r--sci-physics/sassena/Manifest25
-rw-r--r--sci-physics/sassena/files/sassena-1.4.1-libs.patch51
-rw-r--r--sci-physics/sassena/metadata.xml9
-rw-r--r--sci-physics/sassena/sassena-1.4.1.ebuild34
5 files changed, 129 insertions, 0 deletions
diff --git a/sci-physics/sassena/ChangeLog b/sci-physics/sassena/ChangeLog
new file mode 100644
index 000000000000..be4ca36d9c6c
--- /dev/null
+++ b/sci-physics/sassena/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-physics/sassena
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/sassena/ChangeLog,v 1.1 2012/04/29 11:33:27 alexxy Exp $
+
+*sassena-1.4.1 (29 Apr 2012)
+
+ 29 Apr 2012; Alexey Shvetsov <alexxy@gentoo.org>
+ +files/sassena-1.4.1-libs.patch, +metadata.xml, +sassena-1.4.1.ebuild:
+ [sci-physics/sassena] Initial import
+
diff --git a/sci-physics/sassena/Manifest b/sci-physics/sassena/Manifest
new file mode 100644
index 000000000000..efa6b9d8cddf
--- /dev/null
+++ b/sci-physics/sassena/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX sassena-1.4.1-libs.patch 2395 RMD160 b66990459925023d682017e19a6b21343f465c50 SHA1 002b5abfcb9dc7a04aa317dc33f5bddf783ed582 SHA256 813b51ce6cc20c45ae7b2b5409a77c47248013e5089dabfd5344c87d0145a2c0
+DIST sassena-v1.4.1.tar.gz 777979 SHA256 32f49bad943136bad4cce8b4c427cf1756ae43e20691144b58900653dfc5873f SHA512 568f19810511e86102a6e539a81932e94781362e999964de591a799612cf5d6c1db7e6ef68e5ddda43dfb79aad0a52998ad11272e78174ed48b2a4e5d17a5938 WHIRLPOOL 33dcbf5a4a469710ea0312fdea1f845d3b120fb53193371a3780144a51ebcdacb80d847b980a3604b4c081639faccb3fac641e51f238e176f04022d3ea09eb53
+EBUILD sassena-1.4.1.ebuild 814 RMD160 134f0040dfb3eb5a78eb76be161995b8b6ba2cc4 SHA1 251ca949a5c4d7b7860df12a90f85222267f0b86 SHA256 cfb4db345ba28f71dfd1d27f83097c51f6f8d9220988b42344004af7f44832a2
+MISC ChangeLog 405 RMD160 5ccf07366a9a5de1919f534e0e74b2a1980cc074 SHA1 0648a82c20373b067c72e0536718ff6377b8919c SHA256 a6f3eb99dade636a7e4740be9167c7fe22542863a199103af95951d1bff3c919
+MISC metadata.xml 235 RMD160 1a3c9333c7fb5e39c6edd18fdbfe0a4b63597a13 SHA1 3ce7a477a989a7b1a6182ae3823c87155b6686d1 SHA256 e6ea23ae5979e8ce7ed932cbdda983bb9abcfadca4c4d42e14a6d158920d29b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJPnSb2AAoJEOf+E+/4L5LmfyYQAIxiI83/hEm6ecn4ksvIe8LK
+M6R4rGGNxTmMS7Ym57uDe14H914q8Em6JEzFnG8ahX0BflpXOXuQtXz2U7de1qOy
+RWLydbJivuZ7Xi2Y5zXh/2D3K1seRV6YS4yTFayMgSWwfF14WzQdZ1ez4Or9uORA
+GtLJDDR9xu+yIwLCglAwN8P26jSrbhufzlV48gPl5xHjgZWHbEk3nyoLGe7QOYZi
+HmEK54u8wL0dd7pLUaI25BsIAfQ6uA2FGHG4JSwuhapAPmdUJOppcdozrOOzn3U3
+/rEl/7n1BHo/opDCEkAAVVyvbmoYLD/O67n4DCWYgdz7JKv/u7CzJSe8V2a8tZ7Z
+ai6mn9QiCy5dCzF2j7pMDpMdJbZ9ifmZwnAFZwT1lUxVY0J+zLFccCUWzanQJjwM
+UG1Vw4wkXJCBOczKKe8m9Sc7sFxneMmy0OakIhhlFmVrq44jX7pPCUzZcWERRhYs
+LcmqyZfWcZTMEx/mZqn1dDcYBi0B2e5kBXWofatzWC0bIRf9ZEFNTc82Qhq92awh
+O1tmJQrTLmLHTuKUaGvRQol1xZA0Mx+uI5NiYR/W6djCgypOubhX9jU/L/FHcRwd
+LfdWV1ezjuGRQ7YONhDqYGUCbt4NRFDw5pmnALWBbhT0qtwhtshikJxvcN2UBSoO
+c2F9TyD2qXEsWWrcEGqT
+=RaB/
+-----END PGP SIGNATURE-----
diff --git a/sci-physics/sassena/files/sassena-1.4.1-libs.patch b/sci-physics/sassena/files/sassena-1.4.1-libs.patch
new file mode 100644
index 000000000000..cded9f7d40db
--- /dev/null
+++ b/sci-physics/sassena/files/sassena-1.4.1-libs.patch
@@ -0,0 +1,51 @@
+diff -urN sassena-v1.4.1/cmake/CMakeLists.txt.executables sassena-v1.4.1.patched/cmake/CMakeLists.txt.executables
+--- sassena-v1.4.1/cmake/CMakeLists.txt.executables 2012-02-03 04:43:33.000000000 +0400
++++ sassena-v1.4.1.patched/cmake/CMakeLists.txt.executables 2012-03-21 18:07:13.000000000 +0400
+@@ -61,6 +61,20 @@
+ INSTALL(TARGETS s_maketnx RUNTIME DESTINATION bin)
+ INSTALL(TARGETS s_stage RUNTIME DESTINATION bin)
+
++IF(NOT STATIC)
++INSTALL(TARGETS sass_controlio LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_decomposition LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_log LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_math LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_mpi LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_report LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_sample LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_scatter_devices LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_services LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_stager LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++INSTALL(TARGETS sass_vendor_xdrfile LIBRARY DESTINATION ${LIB_INSTALL_DIR})
++ENDIF(NOT STATIC)
++
+ TARGET_LINK_LIBRARIES (unit_broadcast
+ sass_log
+ sass_report
+@@ -69,4 +83,4 @@
+ ${BOOST_LIBRARIES}
+ )
+
+-INSTALL(TARGETS unit_broadcast RUNTIME DESTINATION bin)
+\ В конце файла нет новой строки
++INSTALL(TARGETS unit_broadcast RUNTIME DESTINATION bin)
+diff -urN sassena-v1.4.1/cmake/CMakeLists.txt.shared sassena-v1.4.1.patched/cmake/CMakeLists.txt.shared
+--- sassena-v1.4.1/cmake/CMakeLists.txt.shared 2012-02-03 04:43:33.000000000 +0400
++++ sassena-v1.4.1.patched/cmake/CMakeLists.txt.shared 2012-03-21 18:10:30.000000000 +0400
+@@ -4,6 +4,8 @@
+
+ SET(INTERNAL_LIBRARY_TYPE SHARED)
+
++SET(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
++
+ IF(CMAKE_HOST_APPLE)
+ SET(CMAKE_EXE_LINKER_FLAGS "-fPIC ${CMAKE_EXE_LINKER_FLAGS}")
+ ELSE(CMAKE_HOST_APPLE)
+@@ -15,4 +17,4 @@
+ INCLUDE(${CMAKE_PROJECT_PATH}/CMakeLists.txt.intern)
+ INCLUDE(${CMAKE_PROJECT_PATH}/CMakeLists.txt.executables)
+
+-INCLUDE(${CMAKE_PROJECT_PATH}/CMakeLists.txt.packages)
+\ В конце файла нет новой строки
++INCLUDE(${CMAKE_PROJECT_PATH}/CMakeLists.txt.packages)
+diff -urN sassena-v1.4.1/CMakeLists.txt sassena-v1.4.1.patched/CMakeLists.txt
diff --git a/sci-physics/sassena/metadata.xml b/sci-physics/sassena/metadata.xml
new file mode 100644
index 000000000000..277a0627f0dd
--- /dev/null
+++ b/sci-physics/sassena/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/sci-physics/sassena/sassena-1.4.1.ebuild b/sci-physics/sassena/sassena-1.4.1.ebuild
new file mode 100644
index 000000000000..a936f5487217
--- /dev/null
+++ b/sci-physics/sassena/sassena-1.4.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/sassena/sassena-1.4.1.ebuild,v 1.1 2012/04/29 11:33:27 alexxy Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+MY_P="${PN}-v${PV}"
+
+DESCRIPTION="Software for Calculating Scattering Diagrams on Massively Parallel Computers"
+HOMEPAGE="http://www.sassena.org"
+SRC_URI="http://www.sassena.org/software/source-code/releases/v${PV}/${MY_P}.tar.gz/at_download/file -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ dev-libs/boost[mpi]
+ sci-libs/hdf5[mpi]
+ dev-libs/libxml2
+ sci-libs/fftw:3.0
+ virtual/mpi
+ virtual/blas
+ virtual/lapack"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/$P-libs.patch"
+ )