mongrel2.mk 886 B

1234567891011121314151617181920212223242526
  1. ################################################################################
  2. #
  3. # mongrel2
  4. #
  5. ################################################################################
  6. MONGREL2_VERSION = 1.13.0
  7. MONGREL2_SOURCE = mongrel2-v$(MONGREL2_VERSION).tar.bz2
  8. # Do not use the github helper here, the generated tarball is *NOT* the same
  9. # as the one uploaded by upstream for the release.
  10. MONGREL2_SITE = https://github.com/mongrel2/mongrel2/releases/download/v$(MONGREL2_VERSION)
  11. MONGREL2_LICENSE = BSD-3-Clause
  12. MONGREL2_LICENSE_FILES = LICENSE
  13. MONGREL2_DEPENDENCIES = mbedtls sqlite zeromq
  14. define MONGREL2_BUILD_CMDS
  15. $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
  16. PREFIX=/usr all
  17. endef
  18. define MONGREL2_INSTALL_TARGET_CMDS
  19. $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
  20. PREFIX=/usr DESTDIR=$(TARGET_DIR) install
  21. endef
  22. $(eval $(generic-package))