Skip to content

Commit

Permalink
Add perl-minion-backend-sqlite (bioconda#41945)
Browse files Browse the repository at this point in the history
* Add files via upload

* Update meta.yaml

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update build.sh

* Update meta.yaml
  • Loading branch information
khaled196 authored Aug 9, 2023
1 parent ac4f4ba commit 98a17c0
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
17 changes: 17 additions & 0 deletions recipes/perl-minion-backend-sqlite/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

set -o errexit -o pipefail


sed -i 's/v5.0.7/5.0.7/g' $SRC_DIR/META.json
sed -i 's/v5.0.7/5.0.7/g' $SRC_DIR/Build.PL
sed -i 's/v5.0.7/5.0.7/g' $SRC_DIR/lib/Minion/Backend/SQLite.pm


perl Build.PL INSTALLDIRS=site \
INC="-I${PREFIX}/include" LIBS="-L${PREFIX}/lib -lz"
sed -i 's/v5.0.7/5.0.7/g' $SRC_DIR/Build
perl ./Build
perl ./Build test
# Make sure this goes in site
perl ./Build install --installdirs site
51 changes: 51 additions & 0 deletions recipes/perl-minion-backend-sqlite/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{% set name = "perl-minion-backend-sqlite" %}
{% set version = "5.0.7" %}
{% set sha256 = "d7246ff3e2b7d5ee02c270711a4bc735e4e99f3a59f0dcd5741d34429d180c44" %}

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

source:
url: https://github.com/Grinnz/Minion-Backend-SQLite/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
run_exports:
weak:
- {{ name }} ={{ version }}
noarch: generic

requirements:
host:
- perl =>5.32
- perl-module-build-tiny
- perl-mojo-sqlite
- perl-minion
- perl-mojolicious
- perl-dbi
- perl-dbd-sqlite
- make

run:
- perl =>5.32
- perl-dbi
- perl-dbd-sqlite
- perl-mojolicious
- perl-minion
- perl-mojo-sqlite

test:
imports:
- Minion::Backend::SQLite


about:
home: https://github.com/Grinnz/Minion-Backend-SQLite
license: Artistic-2.0
summary: 'SQLite backend for Minion job queue'

extra:
recipe-maintainers:
- khaled196

0 comments on commit 98a17c0

Please sign in to comment.