Update to new upstream release (v1.0.4)
[openwrt.git] / openwrt / package / wificonf / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=wificonf
6 PKG_RELEASE:=1
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/wificonf
9
10 include $(TOPDIR)/package/rules.mk
11
12
13
14
15 $(eval $(call PKG_template,WIFICONF,$(PKG_NAME),$(PKG_RELEASE),$(ARCH)))
16
17 $(PKG_BUILD_DIR)/.prepared:
18 mkdir -p $@
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(TARGET_CC) $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -o $(PKG_BUILD_DIR)/wifi wificonf.c -L$(STAGING_DIR)/usr/lib -lnvram -lshared $(STAGING_DIR)/usr/lib/libiw.so
23 touch $@
24
25 $(IPKG_WIFICONF):
26 install -d -m0755 $(IDIR_WIFICONF)/sbin
27 install -m0755 $(PKG_BUILD_DIR)/wifi $(IDIR_WIFICONF)/sbin/
28 $(RSTRIP) $(IDIR_WIFICONF)
29 $(IPKG_BUILD) $(IDIR_WIFICONF) $(PACKAGE_DIR)
This page took 0.038869 seconds and 5 git commands to generate.