From 2fee393a1d1997454f0d0f0bcf344e836f0e8d12 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Tue, 9 May 2023 23:43:50 +0300 Subject: [PATCH] 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 --- .../github.com/FredHucht/pstree/package.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/github.com/FredHucht/pstree/package.yml diff --git a/projects/github.com/FredHucht/pstree/package.yml b/projects/github.com/FredHucht/pstree/package.yml new file mode 100644 index 00000000..1e7d7c8a --- /dev/null +++ b/projects/github.com/FredHucht/pstree/package.yml @@ -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