mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/sourceforge.net/potrace/package.yml
This commit is contained in:
parent
2454f73780
commit
b7c913d08b
1 changed files with 31 additions and 0 deletions
31
projects/sourceforge.net/potrace/package.yml
Normal file
31
projects/sourceforge.net/potrace/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: https://potrace.sourceforge.net/download/{{version.marketing}}/potrace-{{version.marketing}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
url: https://potrace.sourceforge.net/
|
||||||
|
match: /potrace-\d+\.\d+\.tar\.gz/
|
||||||
|
strip:
|
||||||
|
- /^potrace-/
|
||||||
|
- /\.tar\.gz/
|
||||||
|
dependencies:
|
||||||
|
zlib.net: ^1
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --disable-dependency-tracking
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --with-libpotrace
|
||||||
|
provides:
|
||||||
|
- bin/potrace
|
||||||
|
- bin/mkbitmap
|
||||||
|
test:
|
||||||
|
dependencies:
|
||||||
|
curl.se: '*'
|
||||||
|
script:
|
||||||
|
- curl -L https://potrace.sourceforge.net/img/head.pbm -o head.pbm
|
||||||
|
- potrace head.pbm -o test.eps
|
||||||
|
- ls | grep test.eps
|
||||||
|
- potrace --version | grep {{version.marketing}}
|
Loading…
Reference in a new issue