mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
2ba668fa25
* fix(libtirpc) closes #3557 * have mercy * getting tired * wip
35 lines
809 B
YAML
35 lines
809 B
YAML
distributable:
|
|
url: https://downloads.sourceforge.net/project/libtirpc/libtirpc/{{version}}/libtirpc-{{version}}.tar.bz2
|
|
strip-components: 1
|
|
versions:
|
|
url: https://sourceforge.net/projects/libtirpc/files/libtirpc/
|
|
match: /libtirpc\/\d+\.\d+\.\d+/
|
|
strip:
|
|
- /^libtirpc\//
|
|
platforms:
|
|
- linux
|
|
dependencies:
|
|
kerberos.org: '*'
|
|
build:
|
|
dependencies:
|
|
linux:
|
|
llvm.org: ^16
|
|
gnu.org/make: '*'
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
- run: |
|
|
mv tirpc/* .
|
|
rmdir tirpc
|
|
ln -s . tirpc
|
|
working-directory: ${{prefix}}/include
|
|
env:
|
|
LD: ld.lld
|
|
ARGS:
|
|
- --disable-dependency-tracking
|
|
- --disable-silent-rules
|
|
- --prefix={{prefix}}
|
|
test:
|
|
script:
|
|
- cc test.c -ltirpc -o test
|
|
- ./test
|