Skip to content

Commit

Permalink
Update mustang to v3.2.4 (#52592)
Browse files Browse the repository at this point in the history
* Update mustang to v3.2.4

* Update build-fail-blacklist
  • Loading branch information
mencian authored Dec 4, 2024
1 parent 81aae40 commit 5067826
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 13 deletions.
1 change: 0 additions & 1 deletion build-fail-blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ recipes/genepender
recipes/ghostx
recipes/ls-gkm
recipes/mosaik
recipes/mustang
recipes/ngmerge
recipes/nlstradamus
recipes/panoct
Expand Down
17 changes: 17 additions & 0 deletions recipes/mustang/0001-Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/Makefile b/Makefile
index f82a060..749cd4d 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,9 @@ OBJ = $(MUSTANG)/obj
BIN = $(MUSTANG)/bin

#compiler options
-CPP = g++
-CPPFLAGS = -traditional -Wall -O3
-LDFLAGS =
+CPP = $(CXX)
+CPPFLAGS = -Wall -O3 -I$(PREFIX)/include -Wno-deprecated-declarations -Wno-header-guard -Wno-array-parameter
+LDFLAGS = -L$(PREFIX)/lib
.cpp.o:
$(CPP) $(CPPFLAGS) -c -o $@ $<

8 changes: 5 additions & 3 deletions recipes/mustang/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
make

mkdir -p $PREFIX/bin
cp $SRC_DIR/bin/mustang-3.2.3 $PREFIX/bin/mustang
chmod +x $PREFIX/bin/mustang
make -j"${CPU_COUNT}"

install -v -m 0755 $SRC_DIR/bin/mustang-$PKG_VERSION $PREFIX/bin
mv $PREFIX/bin/mustang-$PKG_VERSION $PREFIX/bin/mustang
25 changes: 16 additions & 9 deletions recipes/mustang/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
{% set name = "mustang" %}
{% set version = "3.2.3" %}

{% set version = "3.2.4" %}

package:
name: {{ name }}
version: {{ version }}

build:
number: 1

source:
url: http://lcb.infotech.monash.edu.au/mustang/mustang_v3.2.3.tgz
md5: 8ace0194a374a60dbce15fa0b1579b44
url: https://lcb.infotech.monash.edu.au/mustang/mustang_v{{ version }}.tgz
sha256: c05e91c955f491a1fddc404a36ef963b057fd725bcc6d22ef6df1c23b26ce237
patches:
- 0001-Makefile.patch

build:
number: 0
run_exports:
- {{ pin_subpackage('mustang', max_pin="x") }}

requirements:
build:
- make
- {{ compiler('cxx') }}
run:

test:
commands:
- mustang -h

about:
home: http://lcb.infotech.monash.edu.au/mustang/
home: https://lcb.infotech.monash.edu.au/mustang
license: file
license_file: COPYING
summary: "Mustang is a program that implements an algorithm for structural alignment of multiple protein structures."
doc_url: https://lcb.infotech.monash.edu.au/mustang

extra:
identifiers:
- biotools:mustang
- doi:10.1002/prot.20921
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit 5067826

Please sign in to comment.