aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libsufr')
-rw-r--r--sci-libs/libsufr/ChangeLog11
-rw-r--r--sci-libs/libsufr/Manifest5
-rw-r--r--sci-libs/libsufr/files/libsufr-0.3.0-multilib.patch11
-rw-r--r--sci-libs/libsufr/libsufr-0.3.0.ebuild33
-rw-r--r--sci-libs/libsufr/metadata.xml13
5 files changed, 73 insertions, 0 deletions
diff --git a/sci-libs/libsufr/ChangeLog b/sci-libs/libsufr/ChangeLog
new file mode 100644
index 000000000..f7a66c242
--- /dev/null
+++ b/sci-libs/libsufr/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-libs/libsufr
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*libsufr-0.3.0 (09 Nov 2011)
+
+ 09 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> +libsufr-0.3.0.ebuild,
+ +files/libsufr-0.3.0-multilib.patch, +metadata.xml:
+ Initial import, ebuild written by Marc van der Sluys <sluys@astro.ru.nl>,
+ edited by me
+
diff --git a/sci-libs/libsufr/Manifest b/sci-libs/libsufr/Manifest
new file mode 100644
index 000000000..278643321
--- /dev/null
+++ b/sci-libs/libsufr/Manifest
@@ -0,0 +1,5 @@
+AUX libsufr-0.3.0-multilib.patch 318 RMD160 8e0c595fe5e8d5c14c84e50e27dcae422e7984a2 SHA1 936f85c58438821093aea21759f8b6f7b23707df SHA256 9dea766193b5594a211f2badeff79c2054f3680d49ff8d613e7b0d26fa6d5ccb
+DIST libSUFR-0.3.0.tar.gz 41834 RMD160 a1ac29d975525dbef3737f18ec70806a823dbf9c SHA1 73bc4ba2a5ed53ae2f0805eaed84f4ee2915e116 SHA256 710f0a48f041d1b43b499ee1c2a68514860a4b07f85f914f910fd211611d0553
+EBUILD libsufr-0.3.0.ebuild 658 RMD160 9a2d4d77216cde3e9717e7b4b0f3719397d927b9 SHA1 6cdf663d98303601f82fa39eafbdd15f98cf794a SHA256 1614773da09679917cd818558bebee235bfbf8d6447977e8ec4bcd438e59e4bd
+MISC ChangeLog 370 RMD160 c0bed88393d698f184a11d6563f0aede731c53ea SHA1 7206f127461f01fd8f4f0a5a44dacfcd0868f2eb SHA256 726ef6ce9451e6a45377c6eb9da199135f5baf2ac4b8ea8703b7d606c0e51202
+MISC metadata.xml 353 RMD160 c15ef1accc82d84efbbeb4a9611d3751d56246a0 SHA1 d6b760e2573d29ae7be9e64d7168565a6834f6a6 SHA256 048ba321d43f3972f03618833258e22b7fa0e1381f2410b49d7d72b317f6d891
diff --git a/sci-libs/libsufr/files/libsufr-0.3.0-multilib.patch b/sci-libs/libsufr/files/libsufr-0.3.0-multilib.patch
new file mode 100644
index 000000000..142766258
--- /dev/null
+++ b/sci-libs/libsufr/files/libsufr-0.3.0-multilib.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -46,7 +46,7 @@
+ set( MODULE_DIRECTORY "${CMAKE_SOURCE_DIR}/usr/include/libSUFR" )
+ endif( COMPILER_SPECIFIC_LIBS )
+
+-set( LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/usr/lib" )
++set( LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/usr/lib${LIB_SUFFIX}" )
+
+
+ # Set source files:
diff --git a/sci-libs/libsufr/libsufr-0.3.0.ebuild b/sci-libs/libsufr/libsufr-0.3.0.ebuild
new file mode 100644
index 000000000..0c2d8cca1
--- /dev/null
+++ b/sci-libs/libsufr/libsufr-0.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+MY_PN=libSUFR
+MY_P=${MY_PN}-${PV}
+CMAKE_VERBOSE=1
+
+inherit cmake-utils fortran-2
+
+DESCRIPTION="LIBrary of Some Useful Fortran Routines"
+HOMEPAGE="http://libsufr.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND="virtual/fortran"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use static-libs CREATE_STATICLIB)
+ )
+ cmake-utils_src_configure
+}
diff --git a/sci-libs/libsufr/metadata.xml b/sci-libs/libsufr/metadata.xml
new file mode 100644
index 000000000..cdca2ed6a
--- /dev/null
+++ b/sci-libs/libsufr/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sluys@astro.ru.nl</email>
+ <name>Marc van der Sluys</name>
+ </maintainer>
+ <maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+</pkgmetadata>