source: freewrt/package/dnsmasq/Makefile@ bcea6cd

freewrt_2_0
Last change on this file since bcea6cd was bcea6cd, checked in by Waldemar Brodkorb <wbx@…>, 4 months ago

dnsmasq: update to latest

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[c8b93bd]1# This file is part of the FreeWRT project. FreeWRT is copyrighted
2# material, please see the LICENCE file in the top-level directory
[475ad56]3
4include $(TOPDIR)/rules.mk
5
[c8b93bd]6PKG_NAME:= dnsmasq
[bcea6cd]7PKG_VERSION:= 2.91
[c8b93bd]8PKG_RELEASE:= 1
[bcea6cd]9PKG_MD5SUM:= 66e227a971ec29299f18274251440571
[c8b93bd]10PKG_INIT:= 50
[475ad56]11
[bcea6cd]12PKG_SOURCE_URL:= https://thekelleys.org.uk/dnsmasq
[475ad56]13
[c8b93bd]14include $(TOPDIR)/mk/package.mk
[475ad56]15
16$(eval $(call PKG_template,DNSMASQ,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
[d419478]18$(WRKBUILD)/.configured:
[475ad56]19 touch $@
20
[d419478]21$(WRKBUILD)/.built:
22 $(MAKE) -C $(WRKBUILD) \
[475ad56]23 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
24 BINDIR=/usr/sbin MANDIR=/usr/man
25 touch $@
26
27$(IPKG_DNSMASQ):
[c8b93bd]28 $(INSTALL_DIR) $(IDIR_DNSMASQ)/usr/sbin
29 $(INSTALL_DIR) $(IDIR_DNSMASQ)/etc/init.d
30 $(INSTALL_BIN) $(WRKBUILD)/src/$(PKG_NAME) $(IDIR_DNSMASQ)/usr/sbin/
31 $(INSTALL_DATA) ./files/dnsmasq.conf $(IDIR_DNSMASQ)/etc/dnsmasq.conf
[45e7b1b]32 $(INSTALL_BIN) ./files/dnsmasq.init \
33 $(IDIR_DNSMASQ)/etc/init.d/S$(PKG_INIT)dnsmasq
[c8b93bd]34 $(RSTRIP) $(IDIR_DNSMASQ)
[475ad56]35 $(IPKG_BUILD) $(IDIR_DNSMASQ) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.