dev-vcs/gitlab-workhorse:

added ebuild for gitlab-workhorse-1.0.0; dependency of gitlab-ce-8.14

Package-Manager: portage-2.3.0
This commit is contained in:
Manuel Friedli 2016-11-11 10:06:26 +01:00
parent de7cae8119
commit 032de7a479
4 changed files with 62 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff --git a/Makefile b/Makefile
index 3f6ac91..663ffbb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr
+VERSION=v1.0.0-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1