diff options
Diffstat (limited to 'docker-compose/Pkgfile')
-rw-r--r-- | docker-compose/Pkgfile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/docker-compose/Pkgfile b/docker-compose/Pkgfile index c03bb5011..432dcf82c 100644 --- a/docker-compose/Pkgfile +++ b/docker-compose/Pkgfile @@ -1,15 +1,18 @@ # Description: Compose is a tool for defining and running multi-container Docker applications # URL: https://docs.docker.com/compose/ # Maintainer: Matt Housh, jaeger at crux dot ninja -# Depends on: python3-jsonschema python3-six python3-dockerpty python3-docker python3-websocket-client python3-texttable python3-requests python3-yaml python3-docopt python3-cached-property python3-importlib_metadata python3-pyrsistent python3-attrs python3-paramiko python3-zipp python3-pynacl python3-bcrypt python3-distro python3-dotenv +# Depends on: go name=docker-compose -version=1.29.2 +version=2.2.1 release=1 -source=(https://github.com/docker/compose/archive/$version/$name-$version.tar.gz) +source=(https://github.com/docker/compose/archive/v$version/$name-$version.tar.gz) build() { + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CXXFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" cd compose-$version - python3 setup.py build - python3 setup.py install --root=$PKG + go build -trimpath -o ${name} ./cmd + install -Dm0755 ${name} ${PKG}/usr/bin/${name} } |