source: freewrt/package/ether-wake/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

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

  • Property mode set to 100644
File size: 924 bytes
Line 
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:= ether-wake
10PKG_VERSION:= 1.09
11PKG_RELEASE:= 1
12
13DISTFILES:=
14
15include $(TOPDIR)/mk/package.mk
16
17$(eval $(call PKG_template,ETHER_WAKE,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19$(WRKBUILD)/.prepared:
20 mkdir -p $(WRKBUILD)
21 $(CP) ./files/$(PKG_NAME).c $(WRKBUILD)/
22 $(PATCH) $(WRKBUILD) ./patches
23 touch $@
24
25$(WRKBUILD)/.configured:
26 touch $@
27
28$(WRKBUILD)/.built:
29 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/$(PKG_NAME) $(WRKBUILD)/$(PKG_NAME).c
30 touch $@
31
32$(IPKG_ETHER_WAKE):
33 install -d -m0755 $(IDIR_ETHER_WAKE)/usr/sbin
34 install -m0755 $(WRKBUILD)/$(PKG_NAME) $(IDIR_ETHER_WAKE)/usr/sbin/
35 $(RSTRIP) $(IDIR_ETHER_WAKE)
36 $(IPKG_BUILD) $(IDIR_ETHER_WAKE) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.