banana-pro: bring it in shape
[openadk.git] / package / dnsmasq / Makefile
blobd204305b0977c2e6106fbbc2874758600ea2fae4
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= dnsmasq
7 PKG_VERSION:= 2.90
8 PKG_RELEASE:= 1
9 PKG_HASH:= 8e50309bd837bfec9649a812e066c09b6988b73d749b7d293c06c57d46a109e4
10 PKG_DESCR:= lightweight dns, dhcp and tftp server
11 PKG_SECTION:= net/dns
12 PKG_KDEPENDS:= inotify-user
13 PKG_URL:= http://thekelleys.org.uk/dnsmasq/
14 PKG_SITES:= http://thekelleys.org.uk/dnsmasq/
15 PKG_NOPARALLEL:= 1
17 PKG_FLAVOURS_DNSMASQ:= PXE
18 PKGFD_PXE:= enable pxe network boot
19 PKGFS_PXE:= pxelinux
20 PKGFB_PXE:= syslinux
22 include ${ADK_TOPDIR}/mk/host.mk
23 include ${ADK_TOPDIR}/mk/package.mk
25 $(eval $(call HOST_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE}))
26 $(eval $(call PKG_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
28 HOST_STYLE:= manual
29 CONFIG_STYLE:= manual
31 host-build:
32 cd ${WRKBUILD} && make
34 dnsmasq-hostinstall:
35 (cd $(WRKBUILD); make PREFIX=${STAGING_HOST_DIR}/usr install)
37 dnsmasq-install:
38 ${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc
39 ${INSTALL_BIN} ${WRKINST}/usr/sbin/dnsmasq ${IDIR_DNSMASQ}/usr/sbin
40 ${INSTALL_DATA} ./files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
42 include ${ADK_TOPDIR}/mk/host-bottom.mk
43 include ${ADK_TOPDIR}/mk/pkg-bottom.mk