2020-03-19 12:50:19 -05:00
|
|
|
# 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
|
2021-12-02 17:17:53 -06:00
|
|
|
# Depends on: go
|
2020-03-19 12:50:19 -05:00
|
|
|
|
|
|
|
name=docker-compose
|
2023-09-25 11:19:36 -05:00
|
|
|
version=2.22.0
|
2023-09-02 09:42:34 -05:00
|
|
|
release=1
|
2021-12-02 17:17:53 -06:00
|
|
|
source=(https://github.com/docker/compose/archive/v$version/$name-$version.tar.gz)
|
2020-03-19 12:50:19 -05:00
|
|
|
|
|
|
|
build() {
|
2023-08-21 13:46:49 -05:00
|
|
|
export CGO_CFLAGS="${CFLAGS}"
|
|
|
|
export CGO_CPPFLAGS="${CXXFLAGS}"
|
|
|
|
export CGO_CXXFLAGS="${CXXFLAGS}"
|
|
|
|
cd compose-$version
|
2023-08-22 13:38:56 -05:00
|
|
|
make VERSION=v$version
|
|
|
|
install -Dm0755 bin/build/${name} ${PKG}/usr/bin/${name}
|
2023-08-21 13:46:49 -05:00
|
|
|
install -dm0755 ${PKG}/usr/lib/docker/cli-plugins
|
|
|
|
ln -s /usr/bin/docker-compose ${PKG}/usr/lib/docker/cli-plugins/
|
2020-03-19 12:50:19 -05:00
|
|
|
}
|