3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_SOURCE_URL
:=http
://thekelleys.org.uk
/dnsmasq
12 PKG_MD5SUM
:=489198ec87101087043adc98bbe062dc
15 include $(TOPDIR
)/package
/rules.mk
17 define Package
/dnsmasq
21 TITLE
:=A lightweight DNS and DHCP server
22 DESCRIPTION
:=A lightweight DNS and DHCP server. It is intended to provide
\\\
23 coupled DNS and DHCP service to a LAN.
24 URL
:=http
://www.thekelleys.org.uk
/dnsmasq
/
27 define Package
/dnsmasq
/install
28 install -m0755
-d
$(1)/usr
/sbin
29 install -m0755
-d
$(1)/etc
/init.d
/
30 install -m0755
$(PKG_BUILD_DIR
)/src
/dnsmasq
$(1)/usr
/sbin
/
31 install -m0644 .
/files
/dnsmasq.conf
$(1)/etc
/dnsmasq.conf
32 install -m0755 .
/files
/dnsmasq.init
$(1)/etc
/init.d
/S50dnsmasq
35 $(eval
$(call BuildPackage
,dnsmasq
))