pantry/projects/gnu.org/findutils/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

33 lines
729 B
YAML

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