diff --git a/recipes/pdb2fasta/build.sh b/recipes/pdb2fasta/build.sh new file mode 100644 index 0000000000000..43a72037a8c87 --- /dev/null +++ b/recipes/pdb2fasta/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash -euo + +g++ -O3 pdb2fasta.cpp -o pdb2fasta -static +mv pdb2fasta ${PREFIX}/bin diff --git a/recipes/pdb2fasta/meta.yaml b/recipes/pdb2fasta/meta.yaml new file mode 100644 index 0000000000000..1f966cda7ecd4 --- /dev/null +++ b/recipes/pdb2fasta/meta.yaml @@ -0,0 +1,36 @@ +{% set name = "pdb2fasta" %} +{% set version = "1.0" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: https://github.com/kad-ecoli/{{ name }}/archive/refs/tags/{{ version }}.tar.gz + sha256: 63c22998df75c0a1ee9c00051d4d401e45b13651a09b98bb2885a86bc342b7bf + +build: + number: 0 + run_exports: + - {{ pin_subpackage('pdb2fasta', max_pin="x") }} + +requirements: + build: + - {{ compiler('cxx') }} + +test: + commands: + - pdb2fasta + +about: + home: "https://github.com/kad-ecoli/pdb2fasta" + license: "GPL-2-only" + license_family: GPL2 + license_file: License.txt + summary: "Convert PDB structures to FASTA sequences." + dev_url: "https://github.com/kad-ecoli/pdb2fasta" + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64