27 lines
525 B
Plaintext
27 lines
525 B
Plaintext
|
#!/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
|