Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new/radmind.org/libsnet #5239

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions projects/radmind.org/libsnet/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
distributable:
url: https://sourceforge.net/projects/libsnet/files/libsnet-{{version}}/libsnet-{{version}}.tar.gz
strip-components: 1

display-name: libsnet

versions:
- 1.0.0
# # This is messy: several versions provided .bz2 rather than
# # .gz, and the latest version is v15.9, but the earlier
# # versions are 15.8, 15.7a, etc. This will only match v15.9,
# # but will hopefully match future versions as well
# url: https://sourceforge.net/projects/libsnet/files/
# match: projects/libsnet/files/libsnet-\d+.\d+.\d+
# strip:
# - projects/libsnet/files/libsnet-

platforms:
- darwin
- linux/x86-64

build:
dependencies:
gnu.org/autoconf: '*'
openssl.org: ^1.1.1
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --with-ssl={{ deps.openssl.org.prefix }}
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
Loading