Makefile 941 B

1234567891011121314151617181920212223242526272829
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= dnsmasq
  5. PKG_VERSION:= 2.51
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 97465261a6de5258a3c3edfe51ca16a4
  8. PKG_DESCR:= A lightweight DNS and DHCP server
  9. PKG_SECTION:= net
  10. PKG_URL:= http://thekelleys.org.uk/dnsmasq
  11. PKG_SITES:= http://thekelleys.org.uk/dnsmasq/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,DNSMASQ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. MAKE_FLAGS+= BINDIR=/usr/sbin MANDIR=/usr/man COPTS="${TCFLAGS}"
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc
  19. ${INSTALL_BIN} ${WRKBUILD}/src/dnsmasq ${IDIR_DNSMASQ}/usr/sbin/
  20. ${INSTALL_DATA} files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
  21. include ${TOPDIR}/mk/pkg-bottom.mk