diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-05 10:08:02 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-09-05 10:08:02 +0000 |
commit | 8600f34687064b49ad8ec84a5ec4b6ba6fb6c921 (patch) | |
tree | 5f71ff6a645be26c4860f7bfe5b72a68f59ba161 /strata/go-docker/go.morph | |
parent | 90c9d9490423dc130af9299e331c0b172850e84e (diff) | |
download | definitions-8600f34687064b49ad8ec84a5ec4b6ba6fb6c921.tar.gz |
go-docker: Bring chunk morphs into definitions
Diffstat (limited to 'strata/go-docker/go.morph')
-rw-r--r-- | strata/go-docker/go.morph | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/strata/go-docker/go.morph b/strata/go-docker/go.morph new file mode 100644 index 00000000..b3ddcda0 --- /dev/null +++ b/strata/go-docker/go.morph @@ -0,0 +1,12 @@ +name: go +kind: chunk +build-commands: +- export GOROOT_FINAL="$PREFIX/lib/go" && export TMPDIR=/tmp && cd src && bash ./all.bash +install-commands: +- mkdir -p "$DESTDIR$PREFIX/lib/go" +- cp -r bin "$DESTDIR$PREFIX/lib/go" +- cp -r lib "$DESTDIR$PREFIX/lib/go" +- cp -r src "$DESTDIR$PREFIX/lib/go" +- cp -r pkg "$DESTDIR$PREFIX/lib/go" +- mkdir -p "$DESTDIR$PREFIX/bin" +- ln -s "$PREFIX/lib/go/bin/go" "$DESTDIR$PREFIX/bin/go" |