+gnu.org/findutils (#2344)

* +gnu.org/findutils

* g prefix remove
This commit is contained in:
Andrew 2023-07-02 23:10:08 +03:00 committed by GitHub
parent 09dace6310
commit c3fd1aec5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}