2023-09-06 21:01:38 +03:00
|
|
|
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:
|
2023-10-08 03:29:09 +03:00
|
|
|
dependencies:
|
|
|
|
linux:
|
|
|
|
llvm.org: ^16
|
|
|
|
gnu.org/make: '*'
|
2023-09-06 21:01:38 +03:00
|
|
|
script:
|
|
|
|
- ./configure $ARGS
|
|
|
|
- make --jobs {{ hw.concurrency }} install
|
|
|
|
- run: |
|
|
|
|
mv tirpc/* .
|
|
|
|
rmdir tirpc
|
|
|
|
ln -s . tirpc
|
|
|
|
working-directory: ${{prefix}}/include
|
|
|
|
env:
|
2023-10-08 03:29:09 +03:00
|
|
|
LD: ld.lld
|
2023-09-06 21:01:38 +03:00
|
|
|
ARGS:
|
|
|
|
- --disable-dependency-tracking
|
|
|
|
- --disable-silent-rules
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- cc test.c -ltirpc -o test
|
|
|
|
- ./test
|