summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-07-16 11:57:28 +0000
committerJustin Lecher <jlec@gentoo.org>2011-07-16 11:57:28 +0000
commitdafacbfdca22ff42c74d06da222fa2dfdeaaba49 (patch)
tree4f1fab58c26269a8a33f4e2a61c5616edbd986d4 /sci-libs/ssm
parentUnmask sci-libs/mmdb as I found the solution for the inline changes (diff)
downloadgentoo-2-dafacbfdca22ff42c74d06da222fa2dfdeaaba49.tar.gz
gentoo-2-dafacbfdca22ff42c74d06da222fa2dfdeaaba49.tar.bz2
gentoo-2-dafacbfdca22ff42c74d06da222fa2dfdeaaba49.zip
Import from sci-overlay
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/ssm')
-rw-r--r--sci-libs/ssm/ChangeLog10
-rw-r--r--sci-libs/ssm/files/ssm-1.1-mmdb.patch27
-rw-r--r--sci-libs/ssm/files/ssm-1.1-pc.patch14
-rw-r--r--sci-libs/ssm/metadata.xml8
-rw-r--r--sci-libs/ssm/ssm-1.1.ebuild30
5 files changed, 89 insertions, 0 deletions
diff --git a/sci-libs/ssm/ChangeLog b/sci-libs/ssm/ChangeLog
new file mode 100644
index 000000000000..e6f7339f4789
--- /dev/null
+++ b/sci-libs/ssm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/ssm
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ssm/ChangeLog,v 1.1 2011/07/16 11:57:28 jlec Exp $
+
+*ssm-1.1 (16 Jul 2011)
+
+ 16 Jul 2011; Justin Lecher <jlec@gentoo.org> +ssm-1.1.ebuild,
+ +files/ssm-1.1-mmdb.patch, +files/ssm-1.1-pc.patch, +metadata.xml:
+ Import from sci-overlay
+
diff --git a/sci-libs/ssm/files/ssm-1.1-mmdb.patch b/sci-libs/ssm/files/ssm-1.1-mmdb.patch
new file mode 100644
index 000000000000..6e80ed35723d
--- /dev/null
+++ b/sci-libs/ssm/files/ssm-1.1-mmdb.patch
@@ -0,0 +1,27 @@
+--- configure.ac_orig 2011-02-25 16:20:48.000000000 -0800
++++ configure.ac 2011-02-25 16:21:19.000000000 -0800
+@@ -27,8 +27,10 @@
+ AC_STRUCT_TM
+
+ dnl Check for MMDB.
+-AM_PATH_MMDB([echo Found mmdb], [echo Error locating necessary mmdb; exit 1])
+-
++# AM_PATH_MMDB([echo Found mmdb], [echo Error locating necessary mmdb; exit 1])
++PKG_CHECK_MODULES(MMDB, mmdb >= 1.23)
++AC_SUBST(MMDB_CFLAGS)
++AC_SUBST(MMDB_LIBS)
+
+ # Checks for library functions.
+ AC_FUNC_STRTOD
+--- src/Makefile.am_orig 2007-09-03 13:58:00.000000000 -0700
++++ src/Makefile.am 2008-11-10 01:38:24.000000000 -0800
+@@ -5,7 +5,8 @@
+
+ lib_LTLIBRARIES = libssm.la
+
+-INCLUDES = $(MMDB_CXXFLAGS)
++AM_CPPFLAGS = @MMDB_CFLAGS@
++LIBS = @MMDB_LIBS@
+
+ libssm_h_sources = ss_csia.h ss_graph.h ssm_align.h ssm_superpose.h ss_vxedge.h
+
diff --git a/sci-libs/ssm/files/ssm-1.1-pc.patch b/sci-libs/ssm/files/ssm-1.1-pc.patch
new file mode 100644
index 000000000000..2f45dbc85678
--- /dev/null
+++ b/sci-libs/ssm/files/ssm-1.1-pc.patch
@@ -0,0 +1,14 @@
+--- ssm.pc.in_orig 2007-09-03 13:58:16.000000000 -0700
++++ ssm.pc.in 2008-02-27 16:19:48.000000000 -0800
+@@ -1,7 +1,7 @@
+-prefix=@SSM_PREFIX@
+-exec_prefix=@SSM_PREFIX@
+-libdir=@SSM_PREFIX@/lib
+-includedir=@SSM_PREFIX@/include
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
+
+ Name: ssm
+ Description: Macromolecular superposition library
diff --git a/sci-libs/ssm/metadata.xml b/sci-libs/ssm/metadata.xml
new file mode 100644
index 000000000000..d747d72a25b4
--- /dev/null
+++ b/sci-libs/ssm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sci@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-libs/ssm/ssm-1.1.ebuild b/sci-libs/ssm/ssm-1.1.ebuild
new file mode 100644
index 000000000000..341d8d563092
--- /dev/null
+++ b/sci-libs/ssm/ssm-1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ssm/ssm-1.1.ebuild,v 1.1 2011/07/16 11:57:28 jlec Exp $
+
+EAPI=4
+
+inherit autotools eutils
+
+DESCRIPTION="A macromolecular coordinate superposition library"
+HOMEPAGE="https://launchpad.net/ssm"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND=">=sci-libs/mmdb-1.23"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-mmdb.patch \
+ "${FILESDIR}"/${P}-pc.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}