mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
Create package.yml
This commit is contained in:
parent
3a5be66ab2
commit
a9667f4a06
1 changed files with 37 additions and 0 deletions
37
projects/jedsoft.org/slang/package.yml
Normal file
37
projects/jedsoft.org/slang/package.yml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
distributable:
|
||||||
|
url: https://www.jedsoft.org/releases/slang/slang-{{version}}.tar.bz2
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: s-lang
|
||||||
|
|
||||||
|
versions:
|
||||||
|
url: https://www.jedsoft.org/releases/slang/
|
||||||
|
match: /slang-\d+\.\d+\.\d+\.tar\.bz2/
|
||||||
|
strip:
|
||||||
|
- /^slang-/
|
||||||
|
- /.tar.bz2$/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
libpng.org: '*'
|
||||||
|
|
||||||
|
linux:
|
||||||
|
pcre.org: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: |
|
||||||
|
./configure $ARGS
|
||||||
|
make install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --prefix="{{prefix}}"
|
||||||
|
- --with-pnglib="{{deps.libpng.org.prefix}}/lib"
|
||||||
|
- --with-pnginc="{{deps.libpng.org.prefix}}/include"
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/slsh
|
||||||
|
|
||||||
|
test:
|
||||||
|
slsh --version | grep {{version}}
|
Loading…
Reference in a new issue