diff --git a/configure b/configure new file mode 100755 index 0000000..885cbe3 --- /dev/null +++ b/configure @@ -0,0 +1,26 @@ +#!/bin/sh + +PN=sunrise-commit +PV=$(./sunrise-commit --version | cut -f 2 -d ' ') +FC_API_WANT=0 + +conf_init() { + fc_inherit install + + fc_export_functions \ + conf_get_targets +} + +conf_get_targets() { + fc_install -x '$(BINDIR)' ${PN} + fc_install_man ${PN}.1 +} + +. fastconf.sh + +echo 'This package requires fastconf in order to be built.' +echo 'Please grab it from:' +echo ' http://github.com/mgorny/fastconf/' +echo 'or your favourite package manager and install.' +echo 'Afterwards, rerun this ./configure script. Thank you.' +exit 2