add an hostapd-mini package with WPA support only, and move hostapd_cli in a
[openwrt.git] / package / ndisc / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ndisc6
6 PKG_VERSION:=0.5.1
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=33487fe5505b195eb31468d88ba9ab56
9
10 PKG_SOURCE_URL:=http://people.via.ecp.fr/~rem/ndisc6/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
12 PKG_CAT:=bzcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,NDISC6,ndisc6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19 $(eval $(call PKG_template,RDISC6,rdisc6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20 $(eval $(call PKG_template,TCPTRACEROUTE6,tcptraceroute6,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built:
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 $(TARGET_CONFIGURE_OPTS) \
28 CFLAGS="$(TARGET_CFLAGS)" \
29 all
30 touch $@
31
32 $(IPKG_NDISC6):
33 install -d -m0755 $(IDIR_NDISC6)/usr/bin
34 install -m0755 $(PKG_BUILD_DIR)/ndisc6 $(IDIR_NDISC6)/usr/bin/
35 $(RSTRIP) $(IDIR_NDISC6)
36 $(IPKG_BUILD) $(IDIR_NDISC6) $(PACKAGE_DIR)
37
38 $(IPKG_RDISC6):
39 install -d -m0755 $(IDIR_RDISC6)/usr/bin
40 install -m0755 $(PKG_BUILD_DIR)/rdisc6 $(IDIR_RDISC6)/usr/bin/
41 $(RSTRIP) $(IDIR_RDISC6)
42 $(IPKG_BUILD) $(IDIR_RDISC6) $(PACKAGE_DIR)
43
44 $(IPKG_TCPTRACEROUTE6):
45 install -d -m0755 $(IDIR_TCPTRACEROUTE6)/usr/bin
46 install -m0755 $(PKG_BUILD_DIR)/tcptraceroute6 $(IDIR_TCPTRACEROUTE6)/usr/bin/
47 $(RSTRIP) $(IDIR_TCPTRACEROUTE6)
48 $(IPKG_BUILD) $(IDIR_TCPTRACEROUTE6) $(PACKAGE_DIR)
This page took 0.04373 seconds and 5 git commands to generate.