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
commitf43779b43d97a36d5925539b0253490afb28cdf0 (patch)
tree52374a9908ef89761db4f2130fdf100cbfc47bf7 /sci-physics/sassena
parentInitial commit (diff)
downloadgentoo-2-f43779b43d97a36d5925539b0253490afb28cdf0.tar.gz
gentoo-2-f43779b43d97a36d5925539b0253490afb28cdf0.tar.bz2
gentoo-2-f43779b43d97a36d5925539b0253490afb28cdf0.zip
[sci-physics/sassena] Initial import
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/sassena')
-rw-r--r--sci-physics/sassena/ChangeLog10
-rw-r--r--sci-physics/sassena/Manifest4
-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, 108 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..8ab9d277daaa
--- /dev/null
+++ b/sci-physics/sassena/Manifest
@@ -0,0 +1,4 @@
+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 712 RMD160 292d71a30917c138ea309cedb265f65419119747 SHA1 d37d2821058ba41b5e8f62dce8c26723df7dd832 SHA256 f5bdab63a111de15a08cc92297b5d88221d9770e388d67e8c3337560ac09091c
+MISC metadata.xml 235 RMD160 1a3c9333c7fb5e39c6edd18fdbfe0a4b63597a13 SHA1 3ce7a477a989a7b1a6182ae3823c87155b6686d1 SHA256 e6ea23ae5979e8ce7ed932cbdda983bb9abcfadca4c4d42e14a6d158920d29b6
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"
+ )