wownero/contrib/snap/snapcraft.yaml

79 lines
2.0 KiB
YAML
Raw Normal View History

name: monero
2017-11-22 10:12:43 +00:00
version: 0.11.1.0-1
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
description: |
Monero is a private, secure, untraceable, decentralised digital currency.
You are your bank, you control your funds, and nobody can trace your transfers
unless you allow them to do so.
grade: devel
confinement: strict
apps:
2017-01-20 23:22:41 +00:00
monerod:
daemon: forking
2017-01-20 23:22:41 +00:00
command: |
2017-02-24 01:20:02 +00:00
monerod-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/monerod.conf
plugs:
- network
- network-bind
2017-01-20 23:22:41 +00:00
monero-wallet-rpc:
command: |
2017-02-24 01:20:02 +00:00
monero-wallet-rpc --log-file ${SNAP_USER_DATA}
plugs:
2017-01-20 23:22:41 +00:00
- home
- network
- network-bind
monero-wallet-cli:
command: |
2017-02-24 01:20:02 +00:00
monero-wallet-cli --log-file ${SNAP_USER_DATA}
2017-01-20 23:22:41 +00:00
plugs:
- home
- network
parts:
cmake-build:
plugin: cmake
configflags:
- -DBDB_STATIC=1
- -DBoost_USE_STATIC_LIBS=1
- -DBoost_USE_STATIC_RUNTIME=1
- -DARCH=default
source: .
build-packages:
- gcc
- pkg-config
- libunbound-dev
- libevent-dev
- libboost-all-dev
2017-11-20 21:33:23 +00:00
- libzmqpp-dev
- libzmq3-dev
- libsodium-dev
- libdb-dev
- libunwind-dev
- libminiupnpc-dev
- libldns-dev
- libexpat1-dev
2017-11-20 21:33:23 +00:00
- libreadline6-dev
- bison
- doxygen
- graphviz
stage-packages:
- libminiupnpc10
- libunbound2
- libunwind8
2017-01-20 23:22:41 +00:00
prime:
- bin
2017-01-20 23:22:41 +00:00
- usr/lib/
- -usr/lib/gcc
- -usr/share
2017-02-24 01:20:02 +00:00
dist-files:
plugin: dump
source: .
organize:
contrib/snap/monerod.conf: etc/monerod.conf
2017-02-24 02:28:22 +00:00
contrib/snap/monerod-wrapper: bin/monerod-wrapper
prime:
- etc
- bin