summaryrefslogtreecommitdiff
path: root/package/electron-bin/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-05 06:18:23 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-05 06:18:47 +0200
commit0e2442a7a9a2e2bd85a881c886eb9eb815fcc80d (patch)
tree7c6bf9b2cad7a5f33a222fc1e1033df3cb23099c /package/electron-bin/Makefile
parentd21baa0388fd75619f900fc5694fa7dc3819102a (diff)
electron: add precompiled package
Diffstat (limited to 'package/electron-bin/Makefile')
-rw-r--r--package/electron-bin/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/electron-bin/Makefile b/package/electron-bin/Makefile
new file mode 100644
index 000000000..042f02b05
--- /dev/null
+++ b/package/electron-bin/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= electron-bin
+PKG_VERSION:= 1.3.5
+PKG_RELEASE:= 1
+PKG_HASH:= a1b17b04de4ab4d7bdc92500abfaca7d1d53c496c2175fd685e2b84b24fbfeff
+PKG_DESCR:= build cross platform desktop apps
+PKG_SECTION:= x11/apps
+PKG_URL:= http://electron.atom.io
+PKG_SITES:= https://github.com/electron/electron/releases/download/v$(PKG_VERSION)/
+
+PKG_ARCH_DEPENDS:= x86_64
+
+DISTFILES:= electron-v$(PKG_VERSION)-linux-x64.zip
+WRKDIST= ${WRKDIR}/
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,ELECTRON_BIN,electron-bin,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+electron-bin-install:
+ $(INSTALL_DIR) $(IDIR_ELECTRON_BIN)/usr/bin
+ $(INSTALL_BIN) $(WRKSRC)/electron \
+ $(IDIR_ELECTRON_BIN)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk