netsurf-buildsystem: new package
authorFabio Porcedda <fabio.porcedda@gmail.com>
Fri, 9 Jan 2015 07:14:02 +0000 (08:14 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Jan 2015 12:03:21 +0000 (13:03 +0100)
This is the NetSurf project shared build system, used by various NetSurf
sub-projects like the libsvgtiny project.

[Thomas: use cp -dpfr instead of just cp -r, to match what we do in
other Buildroot packages.]

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/netsurf-buildsystem/netsurf-buildsystem.mk [new file with mode: 0644]

diff --git a/package/netsurf-buildsystem/netsurf-buildsystem.mk b/package/netsurf-buildsystem/netsurf-buildsystem.mk
new file mode 100644 (file)
index 0000000..3478850
--- /dev/null
@@ -0,0 +1,20 @@
+################################################################################
+#
+# netsurf-buildsystem
+#
+################################################################################
+
+NETSURF_BUILDSYSTEM_VERSION = 7574b41345968b5f7e9ca5875faccb1478ce0555
+NETSURF_BUILDSYSTEM_SITE = http://git.netsurf-browser.org/buildsystem.git
+NETSURF_BUILDSYSTEM_SITE_METHOD = git
+NETSURF_BUILDSYSTEM_LICENSE = MIT, BSD-3c (for llvm/* files)
+NETSURF_BUILDSYSTEM_LICENSE_FILES = llvm/LICENSE.TXT
+
+NETSURF_BUILDSYSTEM_INSTALL_DIR = $(HOST_DIR)/usr/share/netsurf-buildsystem
+
+define HOST_NETSURF_BUILDSYSTEM_INSTALL_CMDS
+       mkdir -p $(NETSURF_BUILDSYSTEM_INSTALL_DIR)
+       cp -dpfr $(@D)/* $(NETSURF_BUILDSYSTEM_INSTALL_DIR)
+endef
+
+$(eval $(host-generic-package))