2 # Copyright (C) 2018 Sartura Ltd.
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_MAINTAINER
:=Mislav Novakovic
<mislav.novakovic@sartura.hr
>
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
18 PKG_SOURCE_URL
:=https
://codeload.github.com
/ethereum
/go-ethereum
/tar.gz
/v
${PKG_VERSION}?
19 PKG_HASH
:=5081f21ab53f7eb9b84dbed32c4b58bb1c59a61163a6efaa0e4a8de764177c62
21 PKG_BUILD_DEPENDS
:=golang
/host
25 GO_PKG
:=github.com
/ethereum
/go-ethereum
26 GO_PKG_BUILD_PKG
:=github.com
/ethereum
/go-ethereum
/cmd
/geth
28 include $(INCLUDE_DIR
)/package.mk
29 include ..
/..
/lang
/golang
/golang-package.mk
34 TITLE
:=Ethereum Go client
35 URL
:=https
://geth.ethereum.org
/
36 DEPENDS
:=$(GO_ARCH_DEPENDS
)
40 define Package
/geth
/description
41 Ethereum is a decentralized platform that runs smart contracts
, applications
42 that run exactly
as programmed without possibility of downtime
, censorship
,
43 fraud or third party interference.
46 define Package
/geth
/install
47 $(call GoPackage
/Package
/Install
/Bin
,$(1))
49 $(INSTALL_DIR
) $(1)/etc
/init.d
/
50 $(INSTALL_BIN
) .
/files
/geth.init
$(1)/etc
/init.d
/geth
53 $(eval
$(call GoBinPackage
,geth
))
54 $(eval
$(call BuildPackage
,geth
))