pantry/projects/xvid.com/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

27 lines
567 B
YAML

distributable:
url: https://downloads.xvid.com/downloads/xvidcore-{{version}}.tar.gz
strip-components: 1
versions:
url: https://downloads.xvid.com/downloads/
match: /xvidcore-\d+\.\d+\.\d+.tar.gz/
strip:
- /^xvidcore-/
- /\.tar.gz/
build:
dependencies:
working-directory: build/generic
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-assembly
test:
dependencies:
script:
cc test.cpp -lxvidcore -o test