From a23f1fdb9bd13ccf43df17fa83f4c6178fdf4748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 27 Sep 2010 17:09:48 +0200 Subject: [PATCH] Introduce simple fastconf install script. --- configure | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 configure 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