| 1 |
# $FreeWRT$ |
| 2 |
#- |
| 3 |
# This file is part of the FreeWRT project. FreeWRT is copyrighted |
| 4 |
# material, please see the LICENCE file in the top-level directory |
| 5 |
# or at http://www.freewrt.org/licence for details. |
| 6 |
|
| 7 |
include ${TOPDIR}/rules.mk |
| 8 |
include Makefile.inc |
| 9 |
include ${TOPDIR}/mk/package.mk |
| 10 |
|
| 11 |
$(eval ${NFO_TEMPLATES}) |
| 12 |
|
| 13 |
BUILD_STYLE= auto |
| 14 |
MAKE_FILE= GNUmakefile |
| 15 |
|
| 16 |
do-install: |
| 17 |
${INSTALL_DIR} ${IDIR_FWCF}/sbin |
| 18 |
${INSTALL_BIN} ${WRKBUILD}/fwcf.helper.out ${IDIR_FWCF}/sbin/fwcf.helper |
| 19 |
${INSTALL_BIN} ${WRKSRC}/fwcf.sh ${IDIR_FWCF}/sbin/fwcf |
| 20 |
cd ${IDIR_FWCF}/sbin; for tgt in halt reboot poweroff; do \ |
| 21 |
ln fwcf $$tgt; \ |
| 22 |
done |
| 23 |
|
| 24 |
include ${TOPDIR}/mk/pkg-bottom.mk |