kind: autotools

depends:
- filename: gnu-toolchain.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
- filename: core/pkg-config.bst
  type: build
- filename: core/flex.bst
  type: build
- filename: core/attr.bst
  type: build
- filename: core/acl.bst
  type: build

sources:
- kind: git
  url: upstream:linux-pam
  track: Linux-PAM-1.1.8
  ref: b1521c97e73b10469f7b34c0571d51c647eca83c

config:
  configure-commands:
  - autoreconf -ivf
  - ./configure --prefix="%{prefix}" --sysconfdir=/etc --libdir="%{prefix}/lib"
