Add buildroot 2018-02

This commit is contained in:
Pascal Vizeli
2018-03-17 23:47:00 +00:00
parent 3776c47f83
commit 67742041ad
10007 changed files with 405098 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_JSMIN
bool "jsmin"
help
JSMin is a filter which removes comments and unnecessary
whitespace from JavaScript files. It typically reduces
filesize by half, resulting in faster downloads. It also
encourages a more expressive programming style because it
eliminates the download cost of clean, literate
self-documentation.
http://www.crockford.com/javascript/jsmin.html

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_HOST_JSMIN
bool "host jsmin"
help
JSMin is a filter which removes comments and unnecessary
whitespace from JavaScript files. It typically reduces
filesize by half, resulting in faster downloads. It also
encourages a more expressive programming style because it
eliminates the download cost of clean, literate
self-documentation.
http://www.crockford.com/javascript/jsmin.html

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 aae127bf7291a7b2592f36599e5ed6c6423eac7abe0cd5992f82d6d46fe9ed2d jsmin-1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b.tar.gz

View File

@@ -0,0 +1,29 @@
################################################################################
#
# jsmin
#
################################################################################
JSMIN_VERSION = 1bf6ce5f74a9f8752ac7f5d115b8d7ccb31cfe1b
JSMIN_SITE = $(call github,douglascrockford,JSMin,$(JSMIN_VERSION))
JSMIN_LICENSE = MIT
JSMIN_LICENSE_FILES = jsmin.c
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)/bin/jsmin
endef
$(eval $(generic-package))
$(eval $(host-generic-package))