compile tcp_wrappers and libwrap only if choosed
[openwrt.git] / package / ether-wake / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ether-wake
6 PKG_VERSION:=1.09
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10
11 include $(TOPDIR)/package/rules.mk
12
13 $(eval $(call PKG_template,ETHER_WAKE,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
14
15 $(PKG_BUILD_DIR)/.prepared:
16 mkdir -p $(PKG_BUILD_DIR)
17 cp ./files/$(PKG_NAME).c $(PKG_BUILD_DIR)/
18 $(PATCH) $(PKG_BUILD_DIR) ./patches
19 touch $@
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
26 touch $@
27
28 $(IPKG_ETHER_WAKE):
29 install -d -m0755 $(IDIR_ETHER_WAKE)/usr/sbin
30 install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_ETHER_WAKE)/usr/sbin/
31 $(RSTRIP) $(IDIR_ETHER_WAKE)
32 $(IPKG_BUILD) $(IDIR_ETHER_WAKE) $(PACKAGE_DIR)
This page took 0.040576 seconds and 5 git commands to generate.