package: add om-watchdog package
[openwrt/svn-archive/archive.git] / package / om-watchdog / Makefile
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=om-watchdog
11 PKG_RELEASE:=1
12 PKG_VERSION:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/om-watchdog
17 SECTION:=base
18 CATEGORY:=Base system
19 TITLE:=om watchdog
20 URL:=http://openwrt.org/
21 endef
22
23 define Package/om-watchdog/description
24 This package contains the hw watchdog script for the OM1P and OM2P device.
25 endef
26
27 define Build/Prepare
28 endef
29
30 define Build/Compile
31 endef
32
33 define Build/Compile
34 endef
35
36 define Package/om-watchdog/install
37 $(INSTALL_DIR) $(1)/etc/init.d/
38 $(INSTALL_DIR) $(1)/sbin/
39 $(INSTALL_BIN) ./files/om-watchdog.init $(1)/etc/init.d/om-watchdog
40 $(INSTALL_BIN) ./files/om-watchdog $(1)/sbin/om-watchdog
41 endef
42
43
44 $(eval $(call BuildPackage,om-watchdog))
45