forked from slankdev/poac
-
Notifications
You must be signed in to change notification settings - Fork 1
/
poac.yml
72 lines (69 loc) · 1.8 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Package name
name: poac
# Package version
version: 0.3.0-beta
# 98, 03, 11(Include TR1), 14, 17, 20
cpp_version: 17
# clang or gcc or ICC or MSVC
# Specify range of executable version
compilers:
clang: "6 <= v <= 7"
gcc: "7 <= v <= 8"
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:
github: https://github.com/poacpm/poac
# Describe deps as dependencies
# Writing latest will automatically
# fetch the latest package
deps:
boostorg/boost:
src: github
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
curl/curl: # TODO: Cのバージョン管理
src: github
tag: curl-7_61_0
build:
system: cmake
environment:
MAC_RPATH: 1 # TODO: Branch by OS
OPENSSL_ROOT_DIR: /usr/local/opt/openssl/ # TODO: 抽象化
link: static
jbeder/yaml-cpp:
src: github
tag: yaml-cpp-0.6.2
build: cmake
link: static
# 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"