mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
github.com/FredHucht/pstree (#1920)
* Create package.yml * Update package.yml * man install * without --jobs maybe * -fPIC * modified: projects/github.com/FredHucht/pstree/package.yml
This commit is contained in:
parent
f8fccf32c2
commit
2fee393a1d
1 changed files with 28 additions and 0 deletions
28
projects/github.com/FredHucht/pstree/package.yml
Normal file
28
projects/github.com/FredHucht/pstree/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://github.com/FredHucht/pstree/archive/v{{version.marketing}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: FredHucht/pstree
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
gnu.org/gcc: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
make --jobs {{ hw.concurrency }} pstree CC=gcc
|
||||
mkdir -p "{{prefix}}/bin"
|
||||
mkdir -p "{{prefix}}/man1"
|
||||
mv pstree "{{prefix}}/bin"
|
||||
mv pstree.1 "{{prefix}}/man1"
|
||||
|
||||
env:
|
||||
linux/x86-64:
|
||||
CFLAGS:
|
||||
- -fPIC
|
||||
|
||||
provides:
|
||||
- bin/pstree
|
||||
|
||||
test:
|
||||
pstree -w
|
Loading…
Reference in a new issue