• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/angularjs/angularjs.mk
Luca CeresoliLuca Ceresoli committed 7b0e757fb8528 Sep 2015
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# angularjs
4
#
5
################################################################################
6
​
7
ANGULARJS_VERSION = 1.4.3
8
ANGULARJS_SOURCE = angular-$(ANGULARJS_VERSION).zip
9
ANGULARJS_SITE = https://code.angularjs.org/$(ANGULARJS_VERSION)
10
ANGULARJS_LICENSE = MIT
11
# There's no separate license file in the archive, so use angular.js instead.
12
ANGULARJS_LICENSE_FILES = angular.js
13
​
14
define ANGULARJS_EXTRACT_CMDS
15
    unzip $(DL_DIR)/$(ANGULARJS_SOURCE) -d $(@D)
16
    mv $(@D)/angular-$(ANGULARJS_VERSION)/* $(@D)
17
    rmdir $(@D)/angular-$(ANGULARJS_VERSION)
18
endef
19
​
20
ANGULARJS_FILES = angular
21
​
22
ANGULARJS_MODULES = animate aria cookies message-format messages resource \
23
    route sanitize touch
24
​
25
ifeq ($(BR2_ANGULARJS_MODULES),y)
26
ANGULARJS_FILES += $(foreach mod,$(ANGULARJS_MODULES),\
27
            $(if $(BR2_ANGULARJS_MODULE_$(call UPPERCASE,$(mod))),\
28
                angular-$(mod)))
29
else
30
ANGULARJS_FILES += $(foreach mod,$(ANGULARJS_MODULES),angular-$(mod))
31
endif
32
​
33
define ANGULARJS_INSTALL_TARGET_CMDS
34
    $(foreach f,$(ANGULARJS_FILES),\
35
        $(INSTALL) -m 0644 -D $(@D)/$(f).min.js \
36
            $(TARGET_DIR)/var/www/$(f).js$(sep))
37
endef
38
​
39
$(eval $(generic-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.