Makefile 757 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Copyright (C) 2009-2013 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ppl
  9. PKG_VERSION:=1.1
  10. PKG_SOURCE_URL:=http://bugseng.com/products/ppl/download/ftp/releases/$(PKG_VERSION)/
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_MD5SUM:=82617a9c4e08606111ed9d2dc37ececa
  13. HOST_FIXUP:=autoreconf
  14. HOST_BUILD_PARALLEL:=1
  15. HOST_CONFIGURE_PARALLEL:=1
  16. include $(INCLUDE_DIR)/host-build.mk
  17. unexport CFLAGS
  18. HOST_CONFIGURE_ARGS += \
  19. --enable-static \
  20. --disable-shared
  21. define Host/Configure
  22. (cd $(HOST_BUILD_DIR)/$(3); \
  23. $(HOST_CONFIGURE_CMD) \
  24. $(HOST_CONFIGURE_VARS) \
  25. $(HOST_CONFIGURE_ARGS); \
  26. )
  27. endef
  28. $(eval $(call HostBuild))