summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/ssm
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/ssm')
-rw-r--r--sci-libs/ssm/Manifest2
-rw-r--r--sci-libs/ssm/files/ssm-1.1-mmdb.patch27
-rw-r--r--sci-libs/ssm/files/ssm-1.1-pc.patch19
-rw-r--r--sci-libs/ssm/metadata.xml11
-rw-r--r--sci-libs/ssm/ssm-1.1.ebuild31
-rw-r--r--sci-libs/ssm/ssm-1.4.ebuild26
6 files changed, 116 insertions, 0 deletions
diff --git a/sci-libs/ssm/Manifest b/sci-libs/ssm/Manifest
new file mode 100644
index 000000000000..c7b6701dbda6
--- /dev/null
+++ b/sci-libs/ssm/Manifest
@@ -0,0 +1,2 @@
+DIST ssm-1.1.tar.gz 376302 SHA256 975e4e67838d2b44d1c66edff2f7b7802696e80e68bd5238ad0d23834a4583e9 SHA512 04cf1e302a7010d6e038d21f446b6c58afa654a89614963347ed83e858ab24e32d428b241de7e845f53c69c5cd81570d307a57ae5a4a1de3e1db6c835c9ee997 WHIRLPOOL d799c8b681d340fcad389f2e79967c9c7cb0fe21bdb73441eb600669c988cfcf59dba0945831fe8c0b6c2ef64538689bb194044ca8402d1bc9ca2f7c6babe03d
+DIST ssm-1.4.tar.gz 424785 SHA256 ea1a57d019bd69ab04e1b7c4faa2f8451584474a6fc16285c2211ef9f53b2704 SHA512 93b55c544eaf651544bb664b65701c081aa6e77707aaf680c1489b129f89598d9a9c348d2fae86cd6e7b3e97bfd26c3abe16220633da4b570c983dbceec8b15a WHIRLPOOL 1a4c5b49102ac7bab732d17d3381e2f0ecc2e85902121f93e47c4be624e9009dce1f727441229f842267882b042ebe7315a42a7e3ade6d8f67ed8031e65eed92
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..c018bc029eb9
--- /dev/null
+++ b/sci-libs/ssm/files/ssm-1.1-pc.patch
@@ -0,0 +1,19 @@
+ ssm.pc.in | 8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/ssm.pc.in b/ssm.pc.in
+index c5f8a6a..a6ac635 100644
+--- a/ssm.pc.in
++++ b/ssm.pc.in
+@@ -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@/ssm
+
+ 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..089c2128c1d7
--- /dev/null
+++ b/sci-libs/ssm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <use>
+ <flag name="ccp4">Link superpose with libccp4</flag>
+ </use>
+ <upstream>
+ <remote-id type="launchpad">ssm</remote-id>
+ </upstream>
+</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..983d4e03c007
--- /dev/null
+++ b/sci-libs/ssm/ssm-1.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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 ppc x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND=">=sci-libs/mmdb-1.23:0"
+RDEPEND="${DEPEND}
+ !<sci-libs/ccp4-libs-6.1.3-r10"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-mmdb.patch \
+ "${FILESDIR}"/${P}-pc.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
diff --git a/sci-libs/ssm/ssm-1.4.ebuild b/sci-libs/ssm/ssm-1.4.ebuild
new file mode 100644
index 000000000000..9e3ef49d7d62
--- /dev/null
+++ b/sci-libs/ssm/ssm-1.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="A macromolecular coordinate superposition library"
+HOMEPAGE="https://launchpad.net/ssm"
+SRC_URI="ftp://ftp.ccp4.ac.uk/opensource/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0/2"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ccp4 static-libs"
+
+DEPEND="
+ >=sci-libs/mmdb-1.23:2
+ ccp4? ( >=sci-libs/ccp4-libs-6.1.3-r10 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myeconfargs=( $(use_enable ccp4) )
+ autotools-utils_src_configure
+}