kind: autotools

sources:
- kind: git
  url: upstream:binutils-tarball
  track: binutils-2.25
  ref: 5500a97a2ad1735db5b35bc51cfb825c1f4c38df

depends:
- filename: build-essential/stage2.bst
  type: build
- build-essential/fhs-dirs.bst
- build-essential/glibc.bst
- build-essential/zlib.bst

environment:
  PATH: /usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin

config:

  configure-commands:
  - |
    ./configure --prefix="%{prefix}" --disable-nls --disable-werror \
      --with-system-zlib
