kind: autotools
depends:
- filename: core/bash.bst
  type: build
- filename: core/perl.bst
  type: build
- filename: core/automake.bst
  type: build
- filename: core/autoconf.bst
  type: build
- filename: core/gettext-tarball.bst
  type: build
- filename: core/bison.bst
  type: build
- filename: core/patch.bst
  type: build
- filename: core/xz.bst
  type: build
- filename: core/gperf.bst
  type: build
sources:
- kind: git
  url: upstream:coreutils
  track: v8.25
  ref: 68f73f23866d6137e9c8d88d86073b33588d7b56
  submodules:
    gnulib:
      url: upstream:gnulib
config:
  configure-commands:
  - sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
  - bash bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
  - FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="%{prefix}" --disable-nls
  build-commands:
  - make WERROR_CFLAGS=
  install-commands:
  - make INSTALL_PROGRAM=install DESTDIR="%{install-root}" install
