pantry/projects/github.com/10gic/vanitygen-plusplus/package.yml
2024-06-23 12:44:54 -04:00

35 lines
775 B
YAML

distributable:
url: https://github.com/10gic/vanitygen-plusplus/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
versions:
github: 10gic/vanitygen-plusplus/tags
dependencies:
openssl.org: ^1.1
curl.se: ^8
pcre.org: ^8
build:
script:
- run:
- make all
- install -D oclvanityminer '{{prefix}}/bin/oclvanityminer'
- install -D oclvanitygen++ '{{prefix}}/bin/oclvanitygen++'
if: darwin
- run: make most
if: linux
- install -D vanitygen++ '{{prefix}}/bin/vanitygen++'
- install -D keyconv '{{prefix}}/bin/keyconv'
provides:
linux:
- bin/vanitygen++
- bin/keyconv
darwin:
- bin/vanitygen++
- bin/keyconv
- bin/oclvanitygen++
- bin/oclvanityminer
test: vanitygen++ 1pkgx