font-awesome:new package
authorAtul Singh <atul.singh.mandla@rockwellcollins.com>
Wed, 17 Feb 2016 09:56:52 +0000 (15:26 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 14:38:56 +0000 (15:38 +0100)
Font Awesome is a full suite of 605 pictographic icons for easy
scalable vector graphics on websites.

Signed-off-by: Atul Singh <atul.singh.mandla@rockwellcollins.com>
[Thomas: fix misc minor typos.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/font-awesome/Config.in [new file with mode: 0644]
package/font-awesome/font-awesome.hash [new file with mode: 0644]
package/font-awesome/font-awesome.mk [new file with mode: 0644]

index 422978f7ecc286a5472b4b7d3b69f28cbce07769..96b780c960476679ce61777c7dbf8833a7795fe0 100644 (file)
@@ -199,6 +199,7 @@ comment "Fonts"
        source "package/bitstream-vera/Config.in"
        source "package/cantarell/Config.in"
        source "package/dejavu/Config.in"
+       source "package/font-awesome/Config.in"
        source "package/ghostscript-fonts/Config.in"
        source "package/inconsolata/Config.in"
        source "package/liberation/Config.in"
diff --git a/package/font-awesome/Config.in b/package/font-awesome/Config.in
new file mode 100644 (file)
index 0000000..694d74e
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_FONT_AWESOME
+       bool "font-awesome"
+       help
+         Font Awesome is a full suite of 605 pictographic icons for
+         easy scalable vector graphics on websites.
+
+         https://github.com/FortAwesome/Font-Awesome
diff --git a/package/font-awesome/font-awesome.hash b/package/font-awesome/font-awesome.hash
new file mode 100644 (file)
index 0000000..9f3715e
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  7813f416057da622b16229b10fef550e1dc64c5bb59871cd38fa86e76dfdbae8  font-awesome-v4.5.0.tar.gz
diff --git a/package/font-awesome/font-awesome.mk b/package/font-awesome/font-awesome.mk
new file mode 100644 (file)
index 0000000..6ebb92c
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# font-awesome
+#
+################################################################################
+
+FONT_AWESOME_VERSION = v4.5.0
+FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,$(FONT_AWESOME_VERSION))
+FONT_AWESOME_LICENSE = OFLv1.1 (font), MIT (CSS, LESS and Sass files)
+FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss
+
+define FONT_AWESOME_INSTALL_TARGET_CMDS
+        mkdir -p $(TARGET_DIR)/usr/share/font-awesome/
+        $(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\
+                cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep))
+endef
+
+$(eval $(generic-package))