mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
Create package.yml (#1904)
This commit is contained in:
parent
948a3259fd
commit
9f45a5d1b5
1 changed files with 33 additions and 0 deletions
33
projects/sourceforge.net/projects/libmng/package.yml
Normal file
33
projects/sourceforge.net/projects/libmng/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: https://downloads.sourceforge.net/project/libmng/libmng-devel/{{version}}/libmng-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://sourceforge.net/projects/libmng/files/libmng-devel/
|
||||
match: _/projects/libmng/files/libmng-devel/\d+.\d+.\d+/_
|
||||
strip:
|
||||
- _^/projects/libmng/files/libmng-devel/_
|
||||
- _/$_
|
||||
|
||||
dependencies:
|
||||
libjpeg-turbo.org: '*'
|
||||
littlecms.com: '>=2.0.0'
|
||||
zlib.net: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --disable-silent-rules
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
pkg-config --modversion libmng | grep {{version}}
|
Loading…
Reference in a new issue