kind: manual

depends:
- gnu-toolchain.bst
- filename: core/perl.bst
  type: build
- filename: core/python2.bst
  type: build
- filename: core/e2fsprogs.bst
  type: build
- filename: core/xz.bst
  type: build
- filename: bsp-generic/nasm.bst
  type: build

sources:
- kind: git
  url: upstream:syslinux
  track: baserock/syslinux-4.06-gcc7
  ref: 02ab5d34ba0a90e3b6dd78034d7c470c77500119

config:
  build-commands:
  - make clean
  - make NO_WERROR=1
  - make NO_WERROR=1 installer
  install-commands:
  - make INSTALLROOT="%{install-root}" MANDIR="%{mandir}" install

public:
  bst:
    split-rules:
      runtime:
        (>):
        - |
          %{datadir}/syslinux
        - |
          %{datadir}/syslinux/*
        - |
          %{datadir}/syslinux/diag/*
        - |
          %{datadir}/syslinux/dosutil/*

      devel:
        (>):
        - |
          %{datadir}/syslinux/com32/**
