don't compile libipkg in busybox if ipkg is disabled
[openwrt.git] / package / dnsmasq / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=dnsmasq
6 PKG_VERSION:=2.27
7 PKG_RELEASE:=1
8
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
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 define Package/dnsmasq
18 SECTION:=base
19 CATEGORY:=Network
20 DEFAULT:=y
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/
25 endef
26
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
33 endef
34
35 $(eval $(call BuildPackage,dnsmasq))
This page took 0.041757 seconds and 5 git commands to generate.