mirror of
https://github.com/outbackdingo/ports.git
synced 2026-03-21 08:44:34 +00:00
18 lines
505 B
Plaintext
18 lines
505 B
Plaintext
# description : Compose is a tool for defining and running multi-container Docker applications
|
|
# homepage : https://docs.docker.com/compose/
|
|
# depends : go
|
|
|
|
name=docker-compose
|
|
version=2.23.3
|
|
release=1
|
|
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
|
|
go build -trimpath -o ${name} ./cmd
|
|
install -Dm0755 ${name} ${PKG}/usr/bin/${name}
|
|
}
|