Introduce simple fastconf install script.

This commit is contained in:
Michał Górny 2010-09-27 17:09:48 +02:00
parent 8e6c21f793
commit a23f1fdb9b

26
configure vendored Executable file
View File

@ -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