-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Reynolds
committed
Feb 17, 2024
1 parent
02b6a60
commit 79082aa
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |