mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
cscope.sourceforge.io (#1856)
* new file: projects/cscope.sourceforge.io/package.yml * modified: projects/cscope.sourceforge.io/package.yml * modified: projects/cscope.sourceforge.io/package.yml * modified: projects/cscope.sourceforge.io/package.yml * test failure and version detection --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
9303ce8c55
commit
1fc8973cd4
1 changed files with 38 additions and 0 deletions
38
projects/cscope.sourceforge.io/package.yml
Normal file
38
projects/cscope.sourceforge.io/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
distributable:
|
||||||
|
url: https://downloads.sourceforge.net/project/cscope/cscope/v{{version.raw}}/cscope-{{version.raw}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
# This is messy: several versions provided .bz2 rather than
|
||||||
|
# .gz, and the latest version is v15.9, but the earlier
|
||||||
|
# versions are 15.8, 15.7a, etc. This will only match v15.9,
|
||||||
|
# but will hopefully match future versions as well
|
||||||
|
url: https://sourceforge.net/projects/cscope/files/cscope/
|
||||||
|
match: _/projects/cscope/files/cscope/v\d+.\d+[a-z]?/_
|
||||||
|
strip:
|
||||||
|
- _^/projects/cscope/files/cscope/v_
|
||||||
|
- _/$_
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
invisible-island.net/ncurses: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: |
|
||||||
|
./configure $ARGS
|
||||||
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --prefix="{{prefix}}"
|
||||||
|
linux:
|
||||||
|
ARGS:
|
||||||
|
- --with-ncurses={{deps.invisible-island.net/ncurses.prefix}}
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/cscope
|
||||||
|
- bin/ocs
|
||||||
|
|
||||||
|
test:
|
||||||
|
cscope -V 2>&1 | grep {{version.marketing}}
|
Loading…
Reference in a new issue