|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=restic-rest-server |
|
|
PKG_NAME:=restic-rest-server |
|
|
PKG_VERSION:=0.9.7 |
|
|
PKG_VERSION:=0.9.7 |
|
|
PKG_RELEASE:=4 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=5 |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/rest-server-$(PKG_VERSION) |
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/rest-server-$(PKG_VERSION) |
|
|
PKG_SOURCE:=rest-server-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=rest-server-$(PKG_VERSION).tar.gz |
|
@ -19,7 +19,6 @@ PKG_USE_MIPS16:=0 |
|
|
|
|
|
|
|
|
GO_PKG:=github.com/restic/rest-server/ |
|
|
GO_PKG:=github.com/restic/rest-server/ |
|
|
GO_PKG_BUILD_PKG:=github.com/restic/rest-server/cmd/rest-server/ |
|
|
GO_PKG_BUILD_PKG:=github.com/restic/rest-server/cmd/rest-server/ |
|
|
GO_PKG_LDFLAGS:=-s -w |
|
|
|
|
|
GO_PKG_LDFLAGS_X:=main.version=$(PKG_VERSION) |
|
|
GO_PKG_LDFLAGS_X:=main.version=$(PKG_VERSION) |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|