2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jsmin
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-26 19:45:17 +01:00
|
|
|
JSMIN_VERSION = 1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b
|
2013-12-05 18:20:46 +01:00
|
|
|
JSMIN_SITE = $(call github,douglascrockford,JSMin,$(JSMIN_VERSION))
|
2014-06-26 21:20:50 +02:00
|
|
|
JSMIN_LICENSE = MIT
|
|
|
|
JSMIN_LICENSE_FILES = jsmin.c
|
2011-12-19 15:53:40 +01:00
|
|
|
|
|
|
|
define JSMIN_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
|
|
|
|
endef
|
|
|
|
|
|
|
|
define JSMIN_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/jsmin $(TARGET_DIR)/usr/bin/jsmin
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_JSMIN_BUILD_CMDS
|
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_JSMIN_INSTALL_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/jsmin $(HOST_DIR)/usr/bin/jsmin
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|