binutils: fix default
[openadk.git] / package / hugo / Makefile
blobab25a693fab25326ca094be8088a346b61303b83
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= hugo
7 PKG_VERSION:= 0.18.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 29db2524a3042f507162164ec3ce9071277a7608547f4ea4f739d63cac4b39e4
10 PKG_DESCR:= fast website generator
11 PKG_SECTION:= net/http
12 PKG_BUILDDEP:= go-host
13 PKG_URL:= https://gohugo.io
14 PKG_SITES:= https://github.com/spf13/hugo/archive/
16 DISTFILES:= v$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,HUGO,hugo,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
22 CONFIG_STYLE:= manual
23 BUILD_STYLE:= manual
24 INSTALL_STYLE:= manual
26 include $(ADK_TOPDIR)/mk/go.mk
28 do-build:
29 (cd $(WRKBUILD) && $(ADK_GO_TARGET_ENV) $(ADK_GO) \
30 get -v github.com/spf13/hugo)
32 hugo-install:
33 $(INSTALL_DIR) $(IDIR_HUGO)/usr/bin
34 $(INSTALL_BIN) $(ADK_GO_BINPATH)/hugo \
35 $(IDIR_HUGO)/usr/bin
37 include $(ADK_TOPDIR)/mk/pkg-bottom.mk