Makefile 735 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Copyright (C) 2009-2012 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:=upslug2
  9. PKG_VERSION:=20071227
  10. PKG_SOURCE_URL:=http://svn.nslu2-linux.org/svnroot/upslug2/trunk
  11. PKG_SOURCE_PROTO:=svn
  12. PKG_SOURCE_SUBDIR:=upslug2-$(PKG_VERSION)
  13. PKG_SOURCE_VERSION:=41
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  15. include $(INCLUDE_DIR)/host-build.mk
  16. unexport CFLAGS
  17. define Host/Configure
  18. (cd $(HOST_BUILD_DIR); \
  19. aclocal && autoconf && \
  20. autoheader && \
  21. automake --add-missing; \
  22. )
  23. $(Host/Configure/Default)
  24. endef
  25. ifneq ($(HOST_OS),Linux)
  26. HOST_CONFIGURE_ARGS += --with-libpcap
  27. endif
  28. $(eval $(call HostBuild))