1 |
commit: 7c415013f206b75c4a4a3ec57c01bf775a6d72f6 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 16 07:58:46 2011 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 16 07:58:46 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7c415013 |
7 |
|
8 |
libssm bump |
9 |
|
10 |
--- |
11 |
sci-libs/libssm/files/libssm-1.1-mmdb.patch | 27 ++++++++++++++++++++ |
12 |
sci-libs/libssm/files/libssm-1.1-pc.patch | 14 ++++++++++ |
13 |
sci-libs/libssm/libssm-1.0.ebuild | 21 ---------------- |
14 |
sci-libs/libssm/libssm-1.1.ebuild | 35 +++++++++++++++++++++++++++ |
15 |
4 files changed, 76 insertions(+), 21 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/libssm/files/libssm-1.1-mmdb.patch b/sci-libs/libssm/files/libssm-1.1-mmdb.patch |
18 |
new file mode 100644 |
19 |
index 0000000..b42a722 |
20 |
--- /dev/null |
21 |
+++ b/sci-libs/libssm/files/libssm-1.1-mmdb.patch |
22 |
@@ -0,0 +1,27 @@ |
23 |
+--- configure.ac_orig 2011-02-25 16:20:48.000000000 -0800 |
24 |
++++ configure.ac 2011-02-25 16:21:19.000000000 -0800 |
25 |
+@@ -27,8 +27,10 @@ |
26 |
+ AC_STRUCT_TM |
27 |
+ |
28 |
+ dnl Check for MMDB. |
29 |
+-AM_PATH_MMDB([echo Found mmdb], [echo Error locating necessary mmdb; exit 1]) |
30 |
+- |
31 |
++# AM_PATH_MMDB([echo Found mmdb], [echo Error locating necessary mmdb; exit 1]) |
32 |
++PKG_CHECK_MODULES(MMDB, mmdb >= 1.23) |
33 |
++AC_SUBST(MMDB_CFLAGS) |
34 |
++AC_SUBST(MMDB_LIBS) |
35 |
+ |
36 |
+ # Checks for library functions. |
37 |
+ AC_FUNC_STRTOD |
38 |
+--- src/Makefile.am_orig 2007-09-03 13:58:00.000000000 -0700 |
39 |
++++ src/Makefile.am 2008-11-10 01:38:24.000000000 -0800 |
40 |
+@@ -5,7 +5,8 @@ |
41 |
+ |
42 |
+ lib_LTLIBRARIES = libssm.la |
43 |
+ |
44 |
+-INCLUDES = $(MMDB_CXXFLAGS) |
45 |
++AM_CPPFLAGS = @MMDB_CFLAGS@ |
46 |
++AM_LDFLAGS = @MMDB_LIBS@ |
47 |
+ |
48 |
+ libssm_h_sources = ss_csia.h ss_graph.h ssm_align.h ssm_superpose.h ss_vxedge.h |
49 |
+ |
50 |
|
51 |
diff --git a/sci-libs/libssm/files/libssm-1.1-pc.patch b/sci-libs/libssm/files/libssm-1.1-pc.patch |
52 |
new file mode 100644 |
53 |
index 0000000..2f45dbc |
54 |
--- /dev/null |
55 |
+++ b/sci-libs/libssm/files/libssm-1.1-pc.patch |
56 |
@@ -0,0 +1,14 @@ |
57 |
+--- ssm.pc.in_orig 2007-09-03 13:58:16.000000000 -0700 |
58 |
++++ ssm.pc.in 2008-02-27 16:19:48.000000000 -0800 |
59 |
+@@ -1,7 +1,7 @@ |
60 |
+-prefix=@SSM_PREFIX@ |
61 |
+-exec_prefix=@SSM_PREFIX@ |
62 |
+-libdir=@SSM_PREFIX@/lib |
63 |
+-includedir=@SSM_PREFIX@/include |
64 |
++prefix=@prefix@ |
65 |
++exec_prefix=@exec_prefix@ |
66 |
++libdir=@libdir@ |
67 |
++includedir=@includedir@ |
68 |
+ |
69 |
+ Name: ssm |
70 |
+ Description: Macromolecular superposition library |
71 |
|
72 |
diff --git a/sci-libs/libssm/libssm-1.0.ebuild b/sci-libs/libssm/libssm-1.0.ebuild |
73 |
deleted file mode 100644 |
74 |
index ee51a0e..0000000 |
75 |
--- a/sci-libs/libssm/libssm-1.0.ebuild |
76 |
+++ /dev/null |
77 |
@@ -1,21 +0,0 @@ |
78 |
-# Copyright 1999-2009 Gentoo Foundation |
79 |
-# Distributed under the terms of the GNU General Public License v2 |
80 |
-# $Header: $ |
81 |
- |
82 |
-MY_PN="${PN#lib}" |
83 |
-MY_P="${MY_PN}-${PV}" |
84 |
- |
85 |
-DESCRIPTION="A macromolecular coordinate superposition library" |
86 |
-HOMEPAGE="http://www.bioxray.dk/~mok/ssm.php" |
87 |
-SRC_URI="ftp://ftp.bioxray.au.dk/pub/mok/src/${MY_P}.tar.gz" |
88 |
- |
89 |
-LICENSE="GPL-2" |
90 |
-SLOT="0" |
91 |
-KEYWORDS="~amd64 ~x86" |
92 |
-IUSE="" |
93 |
- |
94 |
-S="${WORKDIR}/${MY_P}" |
95 |
- |
96 |
-src_install() { |
97 |
- emake DESTDIR="${D}" install || die |
98 |
-} |
99 |
|
100 |
diff --git a/sci-libs/libssm/libssm-1.1.ebuild b/sci-libs/libssm/libssm-1.1.ebuild |
101 |
new file mode 100644 |
102 |
index 0000000..ad3ae72 |
103 |
--- /dev/null |
104 |
+++ b/sci-libs/libssm/libssm-1.1.ebuild |
105 |
@@ -0,0 +1,35 @@ |
106 |
+# Copyright 1999-2009 Gentoo Foundation |
107 |
+# Distributed under the terms of the GNU General Public License v2 |
108 |
+# $Header: $ |
109 |
+ |
110 |
+EAPI=4 |
111 |
+ |
112 |
+inherit autotools eutils |
113 |
+ |
114 |
+MY_PN="${PN#lib}" |
115 |
+MY_P="${MY_PN}-${PV}" |
116 |
+ |
117 |
+DESCRIPTION="A macromolecular coordinate superposition library" |
118 |
+HOMEPAGE="https://launchpad.net/ssm" |
119 |
+SRC_URI="http://launchpad.net/ssm/trunk/${PV}/+download/${MY_P}.tar.gz" |
120 |
+ |
121 |
+LICENSE="LGPL-2.1" |
122 |
+SLOT="0" |
123 |
+KEYWORDS="~amd64 ~x86" |
124 |
+IUSE="static-libs" |
125 |
+ |
126 |
+DEPEND=">=sci-libs/mmdb-1.23" |
127 |
+RDEPEND="${DEPEND}" |
128 |
+ |
129 |
+S="${WORKDIR}"/${MY_P} |
130 |
+ |
131 |
+src_prepare() { |
132 |
+ epatch \ |
133 |
+ "${FILESDIR}"/${P}-mmdb.patch \ |
134 |
+ "${FILESDIR}"/${P}-pc.patch |
135 |
+ eautoreconf |
136 |
+} |
137 |
+ |
138 |
+src_configure() { |
139 |
+ econf $(use_enable static-libs static) |
140 |
+} |