Skip to content

Commit

Permalink
Added gzrt module
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzalab committed Nov 1, 2024
1 parent 4e7548c commit b9fedf0
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
12 changes: 12 additions & 0 deletions recipes/gzrt/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Automatically download https://www.urbanophile.com/arenn/hacking/gzrt/gzrt-0.8.tar.gz, unpack, and cd into the unpacked folder

export CFLAGS="$CFLAGS -I$PREFIX/include"
export LDFLAGS="$LDFLAGS -L$PREFIX/lib"

make
chmod +x gzrecover

mkdir -p $PREFIX/bin
cp gzrecover $PREFIX/bin
39 changes: 39 additions & 0 deletions recipes/gzrt/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set version = "0.8" %} # latest release on 2013-10-03
{% set sha256 = "b0b7dc53dadd8309ad9f43d6d6be7ac502c68ef854f1f9a15bd7f543e4571fee" %}

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

source:
url: https://www.urbanophile.com/arenn/hacking/gzrt/gzrt-{{ version }}.tar.gz
sha256: {{ sha256 }}
# git_url: https://github.com/arenn/gzrt.git

build:
number: 0

requirements:
build:
- make
- zlib
host:
- zlib

extra:
channels:
- conda-forge
- defaults

test:
commands:
- gzrecover -h

about:
home: https://www.urbanophile.com/arenn/hacking/gzrt
summary: "Unofficial build of the gzip Recovery Toolkit aka gzrecover"
license: GPLv2
description: |
gzrecover is a program that will attempt to extract any readable data
out of a gzip file that has been corrupted.
dev_url: https://github.com/arenn/gzrt

0 comments on commit b9fedf0

Please sign in to comment.