mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
6c6d12da3a
* new file: projects/xvid.com/package.yml new file: projects/xvid.com/test.cpp * modified: projects/xvid.com/package.yml
30 lines
638 B
YAML
30 lines
638 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:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
working-directory: build/generic
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }}
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-assembly
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script:
|
|
cc test.cpp -lxvidcore -o test |