Skip to content

Commit

Permalink
Update ribotin to version 1.3 (bioconda#46357)
Browse files Browse the repository at this point in the history
* Update ribotin to version 1.3

* fix makefile version patch
  • Loading branch information
maickrau authored Mar 12, 2024
1 parent 8c32c47 commit e6b530d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions recipes/ribotin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cd $SRC_DIR
make all
cp bin/ribotin-ref $PREFIX/bin
cp bin/ribotin-verkko $PREFIX/bin
cp bin/ribotin-hifiasm $PREFIX/bin

mkdir -p $PREFIX/share/${PKG_NAME}-${PKG_VERSION}
cp template_seqs/rDNA_one_unit.fasta $PREFIX/share/${PKG_NAME}-${PKG_VERSION}/rDNA_one_unit.fasta
Expand Down
8 changes: 6 additions & 2 deletions recipes/ribotin/makefile.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/makefile b/makefile
index 40a23f7..b35510c 100644
index 5166dd0..83ff306 100644
--- a/makefile
+++ b/makefile
@@ -15,8 +15,8 @@ OBJ = $(patsubst %, $(ODIR)/%, $(_OBJ))
Expand All @@ -13,11 +13,15 @@ index 40a23f7..b35510c 100644

$(shell mkdir -p bin)
$(shell mkdir -p obj)
@@ -30,10 +30,10 @@ $(BINDIR)/ribotin-ref: $(OBJ) $(ODIR)/ribotin-ref.o
@@ -33,13 +33,13 @@ $(BINDIR)/ribotin-ref: $(OBJ) $(ODIR)/ribotin-ref.o
$(GPP) -o $@ $^ $(LINKFLAGS)

$(ODIR)/ribotin-verkko.o: $(SRCDIR)/ribotin-verkko.cpp $(DEPS) $(OBJ)
- $(GPP) -c -o $@ $< $(CPPFLAGS) -DVERSION="\"$(VERSION)\"" -DRIBOTIN_TEMPLATE_PATH="\"$(TEMPLATEPATH)\""
+ $(GPP) -c -o $@ $< $(CPPFLAGS) -DVERSION="\"$(VERSION)\"" -DRIBOTIN_TEMPLATE_PATH="$(TEMPLATEPATH)"

$(ODIR)/ribotin-hifiasm.o: $(SRCDIR)/ribotin-hifiasm.cpp $(DEPS) $(OBJ)
- $(GPP) -c -o $@ $< $(CPPFLAGS) -DVERSION="\"$(VERSION)\"" -DRIBOTIN_TEMPLATE_PATH="\"$(TEMPLATEPATH)\""
+ $(GPP) -c -o $@ $< $(CPPFLAGS) -DVERSION="\"$(VERSION)\"" -DRIBOTIN_TEMPLATE_PATH="$(TEMPLATEPATH)"

$(ODIR)/ribotin-ref.o: $(SRCDIR)/ribotin-ref.cpp $(DEPS) $(OBJ)
Expand Down
8 changes: 4 additions & 4 deletions recipes/ribotin/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{% set name = "ribotin" %}
{% set version = "1.2" %}
{% set version = "1.3" %}

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

source:
url: https://github.com/maickrau/{{ name }}/files/13435950/{{ name }}.tar.gz
sha256: 88d7be40dc641b96ef6f36cd2e464e8d65395ab50158efa1d2d49203b42ffa79
url: https://github.com/maickrau/{{ name }}/files/14571457/{{ name }}.tar.gz
sha256: 7eda750e4fd1064eedf3016f5a49d6b6994e336619fc3b5e4afe4655b2873b70
patches:
- makefile.patch

build:
number: 1
number: 0
skip: True # [osx]
run_exports:
- {{ pin_subpackage('ribotin', max_pin="x.x") }}
Expand Down

0 comments on commit e6b530d

Please sign in to comment.