source: freewrt/package/broadcom-watchbutton/Makefile@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e was 72f820d, checked in by Markus Wigge <markus@…>, 19 years ago

removed mk/targets.mk include... I copied a wrong template

git-svn-id: svn://www.freewrt.org/trunk/freewrt@716 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[e1dfb1a]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
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= broadcom-watchbutton
10PKG_VERSION:= 1.0
[6381849]11PKG_RELEASE:= 2
[e1dfb1a]12PKG_INIT:= 50
13
14DISTFILES:=
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,BROADCOM_WATCHBUTTON,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20
21$(WRKBUILD)/.prepared:
22 mkdir -p $(WRKBUILD)
23 touch $@
24
25$(WRKBUILD)/.built:
26 $(TARGET_CC) -o $(WRKBUILD)/watchbutton watchbutton.c
27 touch $@
28
[2fa597b]29$(IPKG_BROADCOM_WATCHBUTTON):
[e1dfb1a]30 $(INSTALL_DIR) $(IDIR_BROADCOM_WATCHBUTTON)/sbin
[2fa597b]31 $(INSTALL_DIR) $(IDIR_BROADCOM_WATCHBUTTON)/etc/init.d
[6381849]32 $(INSTALL_DIR) $(IDIR_BROADCOM_WATCHBUTTON)/etc/hotplug/button
[e1dfb1a]33 $(INSTALL_BIN) $(WRKBUILD)/watchbutton \
34 $(IDIR_BROADCOM_WATCHBUTTON)/sbin/
35 $(STRIP) $(IDIR_BROADCOM_WATCHBUTTON)/sbin/watchbutton
36 $(INSTALL_BIN) ./watchbutton.init \
37 $(IDIR_BROADCOM_WATCHBUTTON)/etc/init.d/S$(PKG_INIT)watchbutton
38 $(IPKG_BUILD) $(IDIR_BROADCOM_WATCHBUTTON) $(PACKAGE_DIR)
39
Note: See TracBrowser for help on using the repository browser.