added ebuild for gitlab-git-http-server-0.3.0. no manifest yet, not testet yet, as gitlab.com is down and i can't download the binary :)

This commit is contained in:
Manuel Friedli 2015-10-16 18:46:16 +02:00
parent 58880b6e21
commit 4c64a9d6bb
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff --git a/Makefile b/Makefile
index f6456e1..c25e29e 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=0.3.0-$(shell date -u +%Y%m%d.%H%M%S)
gitlab-git-http-server: main.go githandler.go
go build -ldflags "-X main.Version ${VERSION}" -o gitlab-git-http-server