From c3fd1aec5f6492e81d02c2978be6a6601a7b464a Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Sun, 2 Jul 2023 23:10:08 +0300 Subject: [PATCH] +gnu.org/findutils (#2344) * +gnu.org/findutils * g prefix remove --- projects/gnu.org/findutils/package.yml | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 projects/gnu.org/findutils/package.yml diff --git a/projects/gnu.org/findutils/package.yml b/projects/gnu.org/findutils/package.yml new file mode 100644 index 00000000..f229d383 --- /dev/null +++ b/projects/gnu.org/findutils/package.yml @@ -0,0 +1,35 @@ +distributable: + url: https://ftp.gnu.org/gnu/findutils/findutils-{{version}}.tar.xz + strip-components: 1 + +versions: + url: https://ftp.gnu.org/gnu/findutils/ + match: /findutils-\d+\.\d+\.\d+\.tar\.xz/ + strip: + - /^findutils-/ + - /\.tar\.xz$/ + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + + script: + - ./configure $ARGS + - make --jobs {{ hw.concurrency }} install + + env: + ARGS: + - --prefix="{{prefix}}" + - --localstatedir={{prefix}}/var/locate + - --disable-dependency-tracking + - --disable-nls + - --with-packager=Tea.xyz + - --with-packager-bug-reports=https://github.com/teaxyz/pantry/issues + +provides: + - bin/find + - bin/locate + - bin/updatedb + - bin/xargs +test: find --version | grep {{version}} \ No newline at end of file