kind: autotools
depends:
- core.bst
sources:
- kind: git
  url: upstream:parted
  track: baserock/v3.2
  ref: 387e96e6eac59d84e9a688422b4b321ae9beaa20
  submodules:
    gnulib:
      url: upstream:gnulib
config:
  configure-commands:
  - sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
  - sed -i -e '/^buildreq="/,/^"/{/perl/d}' bootstrap.conf
  - ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
  - ./configure --prefix="%{prefix}" --disable-device-mapper
  build-commands:
  - make WERROR_CFLAGS=""
