summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-11-26 05:51:04 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-11-26 05:51:04 +0000
commitbf690770e2f9cd3e0e826fd37be862c4413eb99b (patch)
tree8385196c8f4784fdfb826e869be6f10511a04f8d /sci-astronomy
parentFix typo (committed as obvious). (diff)
downloadhistorical-bf690770e2f9cd3e0e826fd37be862c4413eb99b.tar.gz
historical-bf690770e2f9cd3e0e826fd37be862c4413eb99b.tar.bz2
historical-bf690770e2f9cd3e0e826fd37be862c4413eb99b.zip
Version bump and initial import to the main tree
Package-Manager: portage-2.1.10.37/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/aatm/Manifest14
-rw-r--r--sci-astronomy/casacore/ChangeLog17
-rw-r--r--sci-astronomy/casacore/Manifest17
-rw-r--r--sci-astronomy/casacore/casacore-1.3.0.ebuild52
-rw-r--r--sci-astronomy/casacore/files/1.3.0-headers.patch35
-rw-r--r--sci-astronomy/casacore/files/1.3.0-implicits.patch166
-rw-r--r--sci-astronomy/casacore/files/1.3.0-libdir.patch196
-rw-r--r--sci-astronomy/casacore/metadata.xml10
8 files changed, 507 insertions, 0 deletions
diff --git a/sci-astronomy/aatm/Manifest b/sci-astronomy/aatm/Manifest
new file mode 100644
index 000000000000..9d22265a1d30
--- /dev/null
+++ b/sci-astronomy/aatm/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST aatm-0.4.3.1.tar.gz 611919 RMD160 78fcf5d3186e56c31748b69accd1c975e5bf6378 SHA1 549b58bba246c77d869244695455a3367a67b0a4 SHA256 b41c5b524bc66559357a20ef032b407385aa919e07fd5742afffd33847fa42c9
+EBUILD aatm-0.4.3.1.ebuild 601 RMD160 5112d35e5e5ab2e236b07d94f787fdee7e453001 SHA1 deef756f02cea3f578cff1c3962ccd2cc3c5a7dc SHA256 d145bf7756dced83e65f68054546fdaabc8c97d4d0f3fd81db820cae761ffb23
+MISC ChangeLog 352 RMD160 1b691b700e0bfa0d5e2e3bf4bbdfb86276b4f615 SHA1 570a0d6e3a943722075e70e22b5986bdb8791a00 SHA256 e31def99bba537078bfdbab983056f3abbbef8a7cf68acc00dfa9b762e948f7d
+MISC metadata.xml 529 RMD160 1044a3e0a1aae10fdc0b67b7c2649e86a6d48229 SHA1 93ba136d6b9f8a7e59790d8acefc5048030d81c6 SHA256 9f8056039e6409e53a6945854b394bd888472bad0b7b6585935a54dc2d1a6b82
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk7QfscACgkQ1ycZbhPLE2BxpQCfWSwllApngGrBk7O6ckl0NN9H
+4zMAoIXyJZjTGI4QHkpzpb6ZTi7/pRQP
+=LePw
+-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/casacore/ChangeLog b/sci-astronomy/casacore/ChangeLog
new file mode 100644
index 000000000000..88a606d5f7ba
--- /dev/null
+++ b/sci-astronomy/casacore/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for sci-astronomy/casacore
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/ChangeLog,v 1.1 2011/11/26 05:51:04 bicatali Exp $
+
+*casacore-1.3.0 (26 Nov 2011)
+
+ 26 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/1.3.0-headers.patch, +files/1.3.0-implicits.patch,
+ +casacore-1.3.0.ebuild, +files/1.3.0-libdir.patch, +metadata.xml:
+ Version bump and initial import to the main tree
+
+ 04 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml:
+ Switched herd to sci-astronomy
+
+ 24 Jun 2011; Justin Lecher <jlec@gentoo.org> casacore-1.2.20110516.ebuild:
+ Sort inherit and/or USE
+
diff --git a/sci-astronomy/casacore/Manifest b/sci-astronomy/casacore/Manifest
new file mode 100644
index 000000000000..b7d670830c4d
--- /dev/null
+++ b/sci-astronomy/casacore/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 1.3.0-headers.patch 1276 RMD160 2c009bf947d9775b5a1bffb031372e6d5e65abf0 SHA1 090ebe620e9a2ccbb48e53bb0c26a35c530e4409 SHA256 179d3e93530f4173769f597ec2dc9e6a86a89daa18f5b7bc9b6dbb7eb5ffdf55
+AUX 1.3.0-implicits.patch 6143 RMD160 ca010a2bff71f94f5d58c5c54d54d333ed42d0a7 SHA1 4cdad33cec9fea64040c76aed2b08ab4f21e51a6 SHA256 88a66a6138a4f97fb23e5da4e7f14999e749d54bec1639e13f6d2ce575e1a932
+AUX 1.3.0-libdir.patch 7892 RMD160 e99c74ac1d7e9bb08243fda4c53d279fe6108041 SHA1 842afa49f59e7bafd8841d6d4ad4c2d1f3140679 SHA256 931a3bf15738b4d6381d2cdccbcf78f46ab48298a369d8ee7e79b09fd8b8cffb
+DIST casacore-1.3.0.tar.bz2 4689830 RMD160 2bc1952bca57958c8f04b1718fd78d2b025d0b59 SHA1 bc60efc5624c3787352cbaa3f22e32c431a0391f SHA256 50d91cd6b817de1e3a263e46ad339cdaa6e0c32bba517888dd707476bb64188a
+EBUILD casacore-1.3.0.ebuild 1279 RMD160 2f52ad18940cb2dc9f8cfa94cdbae0e2a5d4afa9 SHA1 3b845414e07e5607fd3874d90c4047bea38b7bd6 SHA256 9e868a2be1ec39e91a9171b28b6b2b3cbd6843d07c596deb173a9f2390b281c8
+MISC ChangeLog 692 RMD160 31b7cad0445f91a57f81ab620ead937ef56c235f SHA1 25d82e397a45168050f3520fb4b56e1c7d07f27f SHA256 36378b92ff674f6ac61e73a07e04d7a2570c38c131f3501a379c996dbe69244a
+MISC metadata.xml 401 RMD160 efd1b8a1e74e6d9dc79c3cb13abee03ccef970d9 SHA1 4a0da15c2ff7b7e56dbe0a287eda71a8f0ddc16d SHA256 a6ea9973fb3220a7184017947301549159c774f66dd31bde902c52969aa8a985
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk7QflEACgkQ1ycZbhPLE2CAgACfRgLIhILh1Yo47R7z2id/0z3w
+b/QAn14hmkrnK4DeeV+UbnYbpUfYRTb9
+=plNS
+-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/casacore/casacore-1.3.0.ebuild b/sci-astronomy/casacore/casacore-1.3.0.ebuild
new file mode 100644
index 000000000000..8147c70d2820
--- /dev/null
+++ b/sci-astronomy/casacore/casacore-1.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/casacore-1.3.0.ebuild,v 1.1 2011/11/26 05:51:04 bicatali Exp $
+
+EAPI=4
+
+inherit cmake-utils eutils
+
+DESCRIPTION="Core libraries for the Common Astronomy Software Applications"
+HOMEPAGE="http://code.google.com/p/casacore/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc fftw hdf5 threads test"
+
+RDEPEND="sci-libs/cfitsio
+ sci-astronomy/wcslib
+ virtual/blas
+ virtual/lapack
+ sys-libs/readline
+ hdf5? ( sci-libs/hdf5 )
+ fftw? ( >=sci-libs/fftw-3 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+PATCHES=( "${FILESDIR}"/${PV}-{headers,implicits,libdir}.patch )
+
+src_configure() {
+ has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
+ mycmakeargs+=(
+ -DENABLE_SHARED=ON
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_build test TESTING)
+ $(cmake-utils_use_use fftw FFTW3)
+ $(cmake-utils_use_use hdf5 HDF5)
+ $(cmake-utils_use_use threads THREADS)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use doc && doxygen doxygen.cfg
+}
+
+src_install(){
+ cmake-utils_src_compile
+ use doc && dohtml -r doc/html
+}
diff --git a/sci-astronomy/casacore/files/1.3.0-headers.patch b/sci-astronomy/casacore/files/1.3.0-headers.patch
new file mode 100644
index 000000000000..d92b03075b44
--- /dev/null
+++ b/sci-astronomy/casacore/files/1.3.0-headers.patch
@@ -0,0 +1,35 @@
+diff -Nur casacore-1.3.0.orig/casa/Arrays/IPosition.h casacore-1.3.0/casa/Arrays/IPosition.h
+--- casacore-1.3.0.orig/casa/Arrays/IPosition.h 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/casa/Arrays/IPosition.h 2011-05-17 06:04:15.000000000 +0100
+@@ -33,6 +33,7 @@
+ #include <casa/iosfwd.h>
+ #include <casa/BasicSL/String.h>
+ #include <vector>
++#include <cstddef>
+ #include <unistd.h>
+
+ namespace casa { //# NAMESPACE CASA - BEGIN
+diff -Nur casacore-1.3.0.orig/casa/Containers/Block.h casacore-1.3.0/casa/Containers/Block.h
+--- casacore-1.3.0.orig/casa/Containers/Block.h 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.3.0/casa/Containers/Block.h 2011-05-17 06:05:55.000000000 +0100
+@@ -28,6 +28,7 @@
+ #ifndef CASA_BLOCK_H
+ #define CASA_BLOCK_H
+
++#include <cstddef>
+ #include <casa/aips.h>
+ ///#include <casa/Containers/BlockIO.h>
+ #include <casa/Utilities/Copy.h>
+--- casacore-1.3.0.orig/mirlib/sysdep.h 2011-11-26 04:44:52.000000000 +0000
++++ casacore-1.3.0/mirlib/sysdep.h 2011-11-26 04:45:33.000000000 +0000
+@@ -1,3 +1,5 @@
++#ifndef SYSDEP_H
++#define SYSDEP_H
+ /*
+ * History:
+ * pjt 31oct89 _trace_ added as defined() option, BUFALIGN 8.
+@@ -133,3 +135,4 @@
+ # define unpack32_c(a,b,c) memcpy((char *)(b),(a),sizeof(int)*(c))
+ #endif
+ #endif
++#endif
diff --git a/sci-astronomy/casacore/files/1.3.0-implicits.patch b/sci-astronomy/casacore/files/1.3.0-implicits.patch
new file mode 100644
index 000000000000..0ff631a90b6f
--- /dev/null
+++ b/sci-astronomy/casacore/files/1.3.0-implicits.patch
@@ -0,0 +1,166 @@
+diff -Nur casacore-1.3.0.orig/casa/HDF5/HDF5DataSet.cc casacore-1.3.0/casa/HDF5/HDF5DataSet.cc
+--- casacore-1.3.0.orig/casa/HDF5/HDF5DataSet.cc 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/casa/HDF5/HDF5DataSet.cc 2011-05-16 17:29:12.000000000 +0100
+@@ -174,7 +174,7 @@
+ H5Pset_chunk(itsPLid, rank, cs.storage());
+ // Create the data set.
+ setHid (H5Dcreate(parentHid, name.chars(), itsDataType.getHidFile(),
+- itsDSid, NULL, itsPLid, NULL));
++ itsDSid, 0, itsPLid, 0));
+ if (! isValid()) {
+ throw HDF5Error("Data set array " + name + " could not be created");
+ }
+@@ -185,7 +185,7 @@
+ itsParent = &parentHid;
+ setName (name);
+ // Open the dataset.
+- setHid (H5Dopen(parentHid, name.chars(), NULL));
++ setHid (H5Dopen(parentHid, name.chars(), 0));
+ if (! isValid()) {
+ throw HDF5Error("Data set array " + name + " does not exist");
+ }
+@@ -271,7 +271,7 @@
+
+ DataType HDF5DataSet::getDataType (hid_t parentHid, const String& name)
+ {
+- hid_t id = H5Dopen(parentHid, name.chars(), NULL);
++ hid_t id = H5Dopen(parentHid, name.chars(), 0);
+ if (id < 0) {
+ throw HDF5Error("Data set array " + name + " does not exist");
+ }
+diff -Nur casacore-1.3.0.orig/casa/HDF5/test/tHDF5.cc casacore-1.3.0/casa/HDF5/test/tHDF5.cc
+--- casacore-1.3.0.orig/casa/HDF5/test/tHDF5.cc 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/casa/HDF5/test/tHDF5.cc 2011-05-16 17:29:12.000000000 +0100
+@@ -126,7 +126,7 @@
+ H5Pset_chunk (plId, rank, chunkShp);
+ // Create the data set.
+ setId = H5Dcreate (fileId, "dataset", typeIdFile,
+- dsId, NULL, plId, NULL);
++ dsId, 0, plId, 0);
+ check (setId, "Failed to create dataset");
+ }
+
+@@ -136,7 +136,7 @@
+ typeIdFile = H5Tcopy (H5T_NATIVE_FLOAT);
+ typeIdMem = H5Tcopy (typeIdFile);
+ // Open the dataset.
+- setId = H5Dopen (fileId, "dataset", NULL);
++ setId = H5Dopen (fileId, "dataset", 0);
+ check (setId, "Failed to open dataset");
+ // Get the data space (for the shape).
+ dsId = H5Dget_space(setId);
+diff -Nur casacore-1.3.0.orig/mirlib/bug.c casacore-1.3.0/mirlib/bug.c
+--- casacore-1.3.0.orig/mirlib/bug.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/bug.c 2011-05-16 17:29:12.000000000 +0100
+@@ -12,6 +12,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++void habort_c();
+
+ static char *errmsg_c();
+ void bug_c();
+diff -Nur casacore-1.3.0.orig/mirlib/dio.c casacore-1.3.0/mirlib/dio.c
+--- casacore-1.3.0.orig/mirlib/dio.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/dio.c 2011-05-16 17:29:12.000000000 +0100
+@@ -45,6 +45,7 @@
+ extern int errno;
+ #endif
+ #include <errno.h>
++void bug_c();
+
+ #define MAXPATH 128
+
+diff -Nur casacore-1.3.0.orig/mirlib/hio.c casacore-1.3.0/mirlib/hio.c
+--- casacore-1.3.0.orig/mirlib/hio.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/hio.c 2011-05-16 17:29:12.000000000 +0100
+@@ -36,7 +36,7 @@
+
+ #include <stdlib.h>
+ #include <string.h>
+-
++#include "sysdep.h"
+ #include "hio.h"
+
+ #define private static
+diff -Nur casacore-1.3.0.orig/mirlib/maskio.c casacore-1.3.0/mirlib/maskio.c
+--- casacore-1.3.0.orig/mirlib/maskio.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/maskio.c 2011-05-16 17:29:12.000000000 +0100
+@@ -25,7 +25,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-
++void bug_c();
++void bugno_c();
+
+ private void mkfill();
+ void mkflush_c();
+diff -Nur casacore-1.3.0.orig/mirlib/scrio.c casacore-1.3.0/mirlib/scrio.c
+--- casacore-1.3.0.orig/mirlib/scrio.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/scrio.c 2011-05-16 17:29:12.000000000 +0100
+@@ -9,6 +9,8 @@
+ /************************************************************************/
+
+ #include "io.h"
++void bug_c();
++void bugno_c();
+
+ /* char *sprintf(); */
+ #include <stdio.h>
+@@ -100,7 +102,7 @@
+ /************************************************************************/
+ void scrwrite_c(handle,buffer,offset,length)
+ int handle,offset,length;
+-float *buffer;
++Const float *buffer;
+ /**scrwrite -- Write real data to the scratch file. */
+ /*:scratch-i/o */
+ /*+ FORTRAN call sequence:
+diff -Nur casacore-1.3.0.orig/mirlib/sysdep.h casacore-1.3.0/mirlib/sysdep.h
+--- casacore-1.3.0.orig/mirlib/sysdep.h 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/sysdep.h 2011-05-16 17:41:07.000000000 +0100
+@@ -131,5 +131,13 @@
+ # define unpackd_c(a,b,c) memcpy((char *)(b),(a),sizeof(double)*(c))
+ # define pack32_c(a,b,c) memcpy((b),(char *)(a),sizeof(int)*(c))
+ # define unpack32_c(a,b,c) memcpy((char *)(b),(a),sizeof(int)*(c))
++#else
++void pack32_c(int* in, char* out, int n);
++void unpack32_c(char* in, int* out,int n);
++void packr_c(float* in, char* out, int n);
++void unpackr_c(char* in, float* out, int n);
++void packd_c(double* in, char* out, int n);
++void unpackd_c(char* in, double* out, int n);
+ #endif
++
+ #endif
+diff -Nur casacore-1.3.0.orig/mirlib/xyio.c casacore-1.3.0/mirlib/xyio.c
+--- casacore-1.3.0.orig/mirlib/xyio.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/xyio.c 2011-05-16 17:29:12.000000000 +0100
+@@ -37,7 +37,7 @@
+ #define Strcpy (void)strcpy
+ void bug_c(),bugno_c();
+ void rdhdi_c(),wrhdi_c();
+-void mkclose_c(),mkwrite_c();
++void mkclose_c(),mkwrite_c(),mkflush_c();
+ char *mkopen_c();
+ int mkread_c();
+ static void xymkopen_c();
+diff -Nur casacore-1.3.0.orig/mirlib/xyzio.c casacore-1.3.0/mirlib/xyzio.c
+--- casacore-1.3.0.orig/mirlib/xyzio.c 2011-05-16 02:24:06.000000000 +0100
++++ casacore-1.3.0/mirlib/xyzio.c 2011-05-16 17:29:12.000000000 +0100
+@@ -55,6 +55,14 @@
+ #include <string.h>
+ #include <stdlib.h>
+ void bug_c();
++void bugno_c();
++char *mkopen_c(int tno, char* name, char* status);
++void mkclose_c(char *handle);
++int mkread_c(char* handle, int mode, int* flags, int offset, int n, int nsize);
++void mkwrite_c(char* handle, int mode, int* flags, int offset, int n, int nsize);
++void mkflush_c(char* handle);
++int limprint(char *string, int lower[], int upper[]);
++int ferr(char* string, char arg );
+ #define check(x) if(x)bugno_c('f',x)
+
+
diff --git a/sci-astronomy/casacore/files/1.3.0-libdir.patch b/sci-astronomy/casacore/files/1.3.0-libdir.patch
new file mode 100644
index 000000000000..e0243985aa28
--- /dev/null
+++ b/sci-astronomy/casacore/files/1.3.0-libdir.patch
@@ -0,0 +1,196 @@
+diff -Nur casacore-1.3.0.orig/casa/CMakeLists.txt casacore-1.3.0/casa/CMakeLists.txt
+--- casacore-1.3.0.orig/casa/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/casa/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -209,8 +209,8 @@
+
+ install (
+ TARGETS casa_casa
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/components/CMakeLists.txt casacore-1.3.0/components/CMakeLists.txt
+--- casacore-1.3.0.orig/components/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/components/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -30,8 +30,8 @@
+ install (
+ TARGETS casa_components
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/coordinates/CMakeLists.txt casacore-1.3.0/coordinates/CMakeLists.txt
+--- casacore-1.3.0.orig/coordinates/CMakeLists.txt 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.3.0/coordinates/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -25,8 +25,8 @@
+
+ install (TARGETS casa_coordinates
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/derivedmscal/CMakeLists.txt casacore-1.3.0/derivedmscal/CMakeLists.txt
+--- casacore-1.3.0.orig/derivedmscal/CMakeLists.txt 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.3.0/derivedmscal/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -14,8 +14,8 @@
+
+ install (TARGETS casa_derivedmscal
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/fits/CMakeLists.txt casacore-1.3.0/fits/CMakeLists.txt
+--- casacore-1.3.0.orig/fits/CMakeLists.txt 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.3.0/fits/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -34,8 +34,8 @@
+
+ install (TARGETS casa_fits
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/images/CMakeLists.txt casacore-1.3.0/images/CMakeLists.txt
+--- casacore-1.3.0.orig/images/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/images/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -71,8 +71,8 @@
+ install (
+ TARGETS casa_images
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/lattices/CMakeLists.txt casacore-1.3.0/lattices/CMakeLists.txt
+--- casacore-1.3.0.orig/lattices/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/lattices/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -67,8 +67,8 @@
+
+ install (TARGETS casa_lattices
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/measures/CMakeLists.txt casacore-1.3.0/measures/CMakeLists.txt
+--- casacore-1.3.0.orig/measures/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/measures/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -69,8 +69,8 @@
+ install (
+ TARGETS casa_measures
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/mirlib/CMakeLists.txt casacore-1.3.0/mirlib/CMakeLists.txt
+--- casacore-1.3.0.orig/mirlib/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/mirlib/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -22,8 +22,8 @@
+ install (
+ TARGETS casa_mirlib
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/ms/CMakeLists.txt casacore-1.3.0/ms/CMakeLists.txt
+--- casacore-1.3.0.orig/ms/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/ms/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -148,8 +148,8 @@
+
+ install (TARGETS casa_ms
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/msfits/CMakeLists.txt casacore-1.3.0/msfits/CMakeLists.txt
+--- casacore-1.3.0.orig/msfits/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/msfits/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -29,8 +29,8 @@
+
+ install (
+ TARGETS casa_msfits
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/scimath/CMakeLists.txt casacore-1.3.0/scimath/CMakeLists.txt
+--- casacore-1.3.0.orig/scimath/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/scimath/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -38,8 +38,8 @@
+
+ install (TARGETS casa_scimath
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/scimath_f/CMakeLists.txt casacore-1.3.0/scimath_f/CMakeLists.txt
+--- casacore-1.3.0.orig/scimath_f/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/scimath_f/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -34,8 +34,8 @@
+
+ install (
+ TARGETS casa_scimath_f
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.3.0.orig/tables/CMakeLists.txt casacore-1.3.0/tables/CMakeLists.txt
+--- casacore-1.3.0.orig/tables/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.3.0/tables/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -181,8 +181,8 @@
+
+ install (TARGETS casa_tables
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
diff --git a/sci-astronomy/casacore/metadata.xml b/sci-astronomy/casacore/metadata.xml
new file mode 100644
index 000000000000..0aaf75cda06e
--- /dev/null
+++ b/sci-astronomy/casacore/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-astronomy</herd>
+<longdescription lang="en">
+ A set of libraries for the the Common Astronomy Software
+ Applications for radioastronomy. This project contains C++ libraries
+ which were the code of the discontinued AIPS++ package.
+</longdescription>
+</pkgmetadata>