FILE=TABLE
PRODUCT=systoolsutl

Group:
  Flavor=ANY
  Qualifiers=""

Common:

Action=Setup

Action=Current

Action=UnCurrent

Action=Configure

Action=InstallAsRoot
  ExeActionRequired(MustBeRoot)
  SetupRequired(systools)
  Execute(${UPS_PROD_DIR}/src/promote promote ${UPS_PROD_DIR}/src ${SYSTOOLS_DIR}/bin 0 0 755, NO_UPS_ENV)
  Execute(rm -f ${SYSTOOLS_DIR}/bin/convert, NO_UPS_ENV)
  Execute(${UPS_PROD_DIR}/src/promote convert ${UPS_PROD_DIR}/src ${SYSTOOLS_DIR}/bin 0 0 755, NO_UPS_ENV)

Action=MustBeRoot
  FileTest(/, -w, "You must be root to perform this action")

END:

Group:
  Flavor=ANY
  Qualifiers="build"

Common:

Action=Setup
  setupenv()
  proddir()

Action=Current

Action=UnCurrent

Action=Configure

Action=UnConfigure

END:
