source: packages/utils/watchcat/Makefile @ 24900

Last change on this file since 24900 was 24900, checked in by nunojpg, 6 years ago

[packages] restorefactory: directory fix

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2010 segal.di.ubi.pt
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=watchcat
11PKG_VERSION:=1
12PKG_RELEASE:=3
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/watchcat
17  SECTION:=utils
18  CATEGORY:=Utilities
19  TITLE:=Enable the configuration of programed reboots
20  MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
21endef
22
23define Package/watchcat/description
24Allows to configure a periodically reboot, or after loosing internet connectivity. Configured trough UCI /etc/config/system.
25endef
26
27define Package/watchcat/conffiles
28/etc/config/system
29endef
30
31define Build/Compile
32endef
33
34define Package/watchcat/install
35        $(INSTALL_DIR) $(1)/etc/init.d
36        $(INSTALL_BIN) ./files/initd_watchcat $(1)/etc/init.d/watchcat
37        $(INSTALL_DIR) $(1)/usr/bin
38        $(INSTALL_BIN) ./files/watchcat.sh $(1)/usr/bin/watchcat.sh
39        $(INSTALL_DIR) $(1)/etc/defaults       
40        $(INSTALL_BIN) ./files/uci_defaults_watchcat $(1)/etc/uci-defaults/50-watchcat
41endef
42
43$(eval $(call BuildPackage,watchcat))
Note: See TracBrowser for help on using the repository browser.