kumquat-buildroot/package/angular-websocket/angular-websocket.mk

19 lines
607 B
Makefile
Raw Normal View History

################################################################################
#
# angular-websocket
#
################################################################################
ANGULAR_WEBSOCKET_VERSION = 2.0.0
ANGULAR_WEBSOCKET_SITE = $(call github,AngularClass,angular-websocket,v$(ANGULAR_WEBSOCKET_VERSION))
ANGULAR_WEBSOCKET_LICENSE = MIT
ANGULAR_WEBSOCKET_LICENSE_FILES = LICENSE
# install .min.js as .js
define ANGULAR_WEBSOCKET_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/dist/angular-websocket.min.js \
$(TARGET_DIR)/var/www/angular-websocket.js
endef
$(eval $(generic-package))