Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spaln to 2.4.4 #28436

Merged
merged 4 commits into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions recipes/spaln/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{% set name = "spaln" %}
{% set version = "2.4.03" %}
{% set sha256 = "6b7d19392485827b1711bbafdd9305d6ed33f92b4e4ba8ec0cfad4dc20364b23" %}
{% set version = "2.4.4" %}
{% set sha256 = "fb41361ee589431c6216ada6b42b3f87e36ecb619e41998a3981f89681a721b9" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/ogotoh/{{ name }}/archive/Ver.{{ version }}.tar.gz
url: https://github.com/ogotoh/{{ name }}/archive/refs/tags/ver.{{ version }}.tar.gz
sha256: {{ sha256 }}
patches:
- patch-makefile_pl # add a Makefile.PL for the Perl part of the code
- patch-makefile_ldflags # add a LDFLAGS variable to the Makefile

build:
number: 1
number: 0

requirements:
build:
Expand Down
28 changes: 14 additions & 14 deletions recipes/spaln/patch-makefile_ldflags
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
--- src/Makefile.in.orig 2019-04-11 13:29:08.707327000 +0200
+++ src/Makefile.in 2019-04-11 13:44:56.235326000 +0200
@@ -76,13 +76,13 @@
--- src/Makefile.in 2021-04-26 03:36:44.000000000 +0100
+++ src/Makefile.in.ldflags 2021-05-11 16:59:24.000000000 +0100
@@ -82,13 +82,13 @@
ls $(SRC) $(HDR)

spaln: spaln.o blksrc.o $(SLIB)
- $(CXX) -o spaln spaln.o blksrc.o $(SLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o spaln spaln.o blksrc.o $(SLIB) $(LLIB)
sortgrcd: sortgrcd.c $(SLIB)
- $(CXX) -o sortgrcd sortgrcd.c $(SLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o sortgrcd sortgrcd.c $(SLIB) $(LLIB)
makdbs: makdbs.c dbs.h seq.h bitpat.h $(SLIB)
- $(CXX) -o makdbs makdbs.c $(SLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o makdbs makdbs.c $(SLIB) $(LLIB)
makmdm: makmdm.c mdm.h $(CLIB)
- $(CXX) -o makmdm makmdm.c $(CLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o makmdm makmdm.c $(CLIB) $(LLIB)
sortgrcd: sortgrcd.cc $(SLIB)
- $(CXX) -o sortgrcd sortgrcd.cc $(SLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o sortgrcd sortgrcd.cc $(SLIB) $(LLIB)
makdbs: makdbs.cc dbs.h seq.h bitpat.h $(SLIB)
- $(CXX) -o makdbs makdbs.cc $(SLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o makdbs makdbs.cc $(SLIB) $(LLIB)
makmdm: makmdm.cc mdm.h $(CLIB)
- $(CXX) -o makmdm makmdm.cc $(CLIB) $(LLIB)
+ $(CXX) $(LDFLAGS) -o makmdm makmdm.cc $(CLIB) $(LLIB)

spaln.o: spaln.c seq.h aln.h
bitpat.o: bitpat.c bitpat.h
spaln.o: spaln.cc seq.h aln.h
bitpat.o: bitpat.cc bitpat.h