kind: autotools
depends:
- filename: gnu-toolchain.bst
  type: build
- filename: core/file.bst
  type: build
- filename: core/autoconf.bst
  type: build
- filename: core/automake.bst
  type: build
- filename: core/gettext-tarball.bst
  type: build
- filename: core/libtool.bst
  type: build

sources:
- kind: git
  url: upstream:attr
  track: v2.4.47
  ref: 4b005410f865895d4dcd56e2c135278a7a315877
config:
  configure-commands:
  - make configure
  - |
    ./configure --prefix="%{prefix}" \
                --exec-prefix="%{prefix}" \
                --sbindir="%{prefix}"/bin \
                --bindir="%{prefix}"/bin \
                --libdir="%{prefix}"/lib \
                --libexecdir="%{prefix}"/lib \
                --enable-lib64=yes \
                --includedir="%{prefix}"/include \
                --mandir="%{prefix}"/share/man \
                --datadir="%{prefix}"/share
  install-commands:
  - make DESTDIR="%{install-root}" install-lib install-dev
