-
-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathpoac.yml
58 lines (55 loc) · 1.46 KB
/
poac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Package name
name: poac
# Package version
version: 0.1.2
# 98, 03, 11(Include TR1), 14, 17, 20
cpp_version: 17
description: "poac is a package manager for C++"
# It must be the same as the user name
# of the poac.pm account your created
owners:
- matken11235
license: GPL-3.0
links:
homepage: "https://poac.io"
github: "https://github.com/poacpm/poac"
# Describe deps as dependencies
# Writing latest will automatically
# fetch the latest package
deps:
github/boostorg/boost:
tag: boost-1.67.0
build: # If you use header-only library, does not necessary this key.
system: manual
steps:
- cd ${HOME}/.poac/cache/boost-1.67.0_tmp
- git submodule update --init --recursive
- ./bootstrap.sh
- ./b2 install -j2 --prefix=${HOME}/.poac/cache/boost-1.67.0
link: # このkeyは,deps専用
type: static # If dynamic -> global install
include:
- boost_system
- boost_filesystem
- boost_timer
- boost_chrono
github/jbeder/yaml-cpp:
tag: yaml-cpp-0.6.2
build: cmake
link: static
cpp-shell-cmd: ">=0.0.1 and <1.0.0"
# If nothing is specified, it is regarded as header only library
build:
system: poac
# Enable binary install (for CLI application)
# when you use poac as system.
bin: true
# lib: true # Generate library from src/* .
compile_args:
- "-pthread"
link_args:
- "-pthread"
test:
framework: boost # or google
args:
- "--log_level=test_suite"