3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=b38f33cd0703fa664a37a4595d918189
10 PKG_SOURCE_URL
:=http
://thekelleys.org.uk
/dnsmasq
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,DNSMASQ
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
24 CC
=$(TARGET_CC
) CFLAGS
="$(TARGET_CFLAGS)" \
25 BINDIR
=/usr
/sbin MANDIR
=/usr
/man
29 mkdir
-p
$(IDIR_DNSMASQ
)/usr
/sbin
30 cp
$(PKG_BUILD_DIR
)/src
/$(PKG_NAME
) $(IDIR_DNSMASQ
)/usr
/sbin
/
31 $(STRIP
) $(IDIR_DNSMASQ
)/usr
/sbin
/*
32 $(IPKG_BUILD
) $(IDIR_DNSMASQ
) $(PACKAGE_DIR
)