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
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
)))
24 INSTALL_STYLE
:= manual
26 include $(ADK_TOPDIR
)/mk
/go.mk
29 (cd
$(WRKBUILD
) && $(ADK_GO_TARGET_ENV
) $(ADK_GO
) \
30 get -v github.com
/spf13
/hugo
)
33 $(INSTALL_DIR
) $(IDIR_HUGO
)/usr
/bin
34 $(INSTALL_BIN
) $(ADK_GO_BINPATH
)/hugo \
37 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk