forked from rosa/hakurei
internal/rosa/package: azalea proposal
This commit is contained in:
@@ -1,38 +1,38 @@
|
||||
package ninja {
|
||||
description = "a small build system with a focus on speed";
|
||||
website = "https://ninja-build.org";
|
||||
anitya = 2089;
|
||||
//az:schema mbf
|
||||
|
||||
version* = "1.13.2";
|
||||
package ninja {
|
||||
description = "a small build system with a focus on speed"
|
||||
website = "https://ninja-build.org"
|
||||
anitya = 2089
|
||||
|
||||
version := "1.13.2"
|
||||
source = remoteGitHub {
|
||||
suffix = "ninja-build/ninja";
|
||||
tag = "v"+version;
|
||||
checksum = "ygKWMa0YV2lWKiFro5hnL-vcKbc_-RACZuPu0Io8qDvgQlZ0dxv7hPNSFkt4214v";
|
||||
};
|
||||
extra = [ googletest ];
|
||||
suffix = "ninja-build/ninja"
|
||||
tag = "v"+version
|
||||
checksum = "ygKWMa0YV2lWKiFro5hnL-vcKbc_-RACZuPu0Io8qDvgQlZ0dxv7hPNSFkt4214v"
|
||||
}
|
||||
extra = [ googletest ]
|
||||
|
||||
env = [
|
||||
"CFLAGS=-std=c++17",
|
||||
];
|
||||
"CFLAGS=-std=c++17"
|
||||
]
|
||||
|
||||
exec = generic {
|
||||
build = `
|
||||
python3 /usr/src/ninja/configure.py \
|
||||
--verbose \
|
||||
--bootstrap
|
||||
python3 /usr/src/ninja/configure.py \
|
||||
--gtest-source-dir=/usr/src/extra/googletest
|
||||
./ninja ` + jobsFlagE + ` all`;
|
||||
build = r`python3 /usr/src/ninja/configure.py \
|
||||
--verbose \
|
||||
--bootstrap
|
||||
python3 /usr/src/ninja/configure.py \
|
||||
--gtest-source-dir=/usr/src/extra/googletest
|
||||
./ninja ` + jobsFlagE + ` all`
|
||||
|
||||
check = "\n./ninja_test";
|
||||
check = "./ninja_test"
|
||||
|
||||
install = `
|
||||
mkdir -p /work/system/bin/
|
||||
cp ninja /work/system/bin/`;
|
||||
};
|
||||
install = `mkdir -p /work/system/bin/
|
||||
cp ninja /work/system/bin/`
|
||||
}
|
||||
|
||||
inputs = [
|
||||
python,
|
||||
bash,
|
||||
];
|
||||
python
|
||||
bash
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user