210b1569070a927dceeb110e306101305a070cd9
[openwrt.git] / openwrt / package / dnsmasq / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=dnsmasq
6 PKG_VERSION:=2.22
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=b38f33cd0703fa664a37a4595d918189
9
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)
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,DNSMASQ,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.built:
20 $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
21 BINDIR=/usr/sbin MANDIR=/usr/man -C $(PKG_BUILD_DIR)
22
23 $(IPKG_DNSMASQ):
24 mkdir -p $(IDIR_DNSMASQ)/usr/sbin
25 cp $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(IDIR_DNSMASQ)/usr/sbin/
26 $(STRIP) $(IDIR_DNSMASQ)/usr/sbin/*
27 $(IPKG_BUILD) $(IDIR_DNSMASQ) $(PACKAGE_DIR)
28
This page took 0.036865 seconds and 3 git commands to generate.