pantry/projects/sourceforge.net/libtirpc/package.yml

36 lines
826 B
YAML
Raw Normal View History

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:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
- run: |
mv tirpc/* .
rmdir tirpc
ln -s . tirpc
working-directory: ${{prefix}}/include
env:
ARGS:
- --disable-dependency-tracking
- --disable-silent-rules
- --prefix={{prefix}}
test:
dependencies:
tea.xyz/gx/cc: c99
script:
- cc test.c -ltirpc -o test
- ./test