fix svn patch breakage in glib
[openwrt.git] / package / ndisc / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ndisc6
6 PKG_VERSION:=0.4.0
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=7c30f2bfdfc4bd7b7c986503083f218d
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
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS)" \
28 all
29 touch $@
30
31 $(IPKG_NDISC6):
32 install -d -m0755 $(IDIR_NDISC6)/usr/bin
33 install -m0755 $(PKG_BUILD_DIR)/ndisc6 $(IDIR_NDISC6)/usr/bin/
34 $(RSTRIP) $(IDIR_NDISC6)
35 $(IPKG_BUILD) $(IDIR_NDISC6) $(PACKAGE_DIR)
36
37 $(IPKG_RDISC6):
38 install -d -m0755 $(IDIR_RDISC6)/usr/bin
39 install -m0755 $(PKG_BUILD_DIR)/rdisc6 $(IDIR_RDISC6)/usr/bin/
40 $(RSTRIP) $(IDIR_RDISC6)
41 $(IPKG_BUILD) $(IDIR_RDISC6) $(PACKAGE_DIR)
This page took 0.056616 seconds and 5 git commands to generate.