diff options
Diffstat (limited to 'docker-compose/abuild')
| -rw-r--r-- | docker-compose/abuild | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker-compose/abuild b/docker-compose/abuild new file mode 100644 index 00000000..14ab1e36 --- /dev/null +++ b/docker-compose/abuild @@ -0,0 +1,15 @@ +name=docker-compose +version=2.39.3 +release=1 +source="https://github.com/docker/compose/archive/v${version}/compose-v${version}.tar.gz" + +build() { + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CXXFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + unset DESTDIR + make VERSION=v$version + install -Dm0755 bin/build/${name} ${PKG}/usr/bin/${name} + install -dm0755 ${PKG}/usr/lib/docker/cli-plugins + ln -s /usr/bin/docker-compose ${PKG}/usr/lib/docker/cli-plugins/ +} |