2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-27 06:09:08 +01:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# mongrel2
|
2013-03-27 06:09:08 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-27 06:09:08 +01:00
|
|
|
|
2014-04-22 20:40:40 +02:00
|
|
|
MONGREL2_VERSION = v1.9.1
|
2014-10-12 21:39:18 +02:00
|
|
|
# Do not use the github helper here, the generated tarball is *NOT* the same
|
|
|
|
# as the one uploaded by upstream for the release.
|
2014-07-31 10:46:58 +02:00
|
|
|
MONGREL2_SITE = https://github.com/zedshaw/mongrel2/releases/download/$(MONGREL2_VERSION)
|
2013-03-27 06:09:08 +01:00
|
|
|
MONGREL2_LICENSE = BSD-3c
|
|
|
|
MONGREL2_LICENSE_FILES = LICENSE
|
|
|
|
MONGREL2_DEPENDENCIES = sqlite zeromq
|
|
|
|
|
|
|
|
define MONGREL2_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
|
|
PREFIX=/usr all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define MONGREL2_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
|
|
PREFIX=/usr DESTDIR=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|