2016-09-01 13:23:36 -06:00
|
|
|
name: monero
|
2017-02-23 18:20:02 -07:00
|
|
|
version: 0.10.2-1
|
2016-09-01 13:23:36 -06:00
|
|
|
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 16:22:41 -07:00
|
|
|
monerod:
|
2016-09-01 13:23:36 -06:00
|
|
|
daemon: forking
|
2017-01-20 16:22:41 -07:00
|
|
|
command: |
|
2017-02-23 18:20:02 -07:00
|
|
|
monerod-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/monerod.conf
|
2016-09-01 13:23:36 -06:00
|
|
|
plugs:
|
|
|
|
- network
|
|
|
|
- network-bind
|
2017-01-20 16:22:41 -07:00
|
|
|
monero-wallet-rpc:
|
|
|
|
command: |
|
2017-02-23 18:20:02 -07:00
|
|
|
monero-wallet-rpc --log-file ${SNAP_USER_DATA}
|
2016-09-01 13:23:36 -06:00
|
|
|
plugs:
|
2017-01-20 16:22:41 -07:00
|
|
|
- home
|
|
|
|
- network
|
|
|
|
- network-bind
|
|
|
|
monero-wallet-cli:
|
|
|
|
command: |
|
2017-02-23 18:20:02 -07:00
|
|
|
monero-wallet-cli --log-file ${SNAP_USER_DATA}
|
2017-01-20 16:22:41 -07:00
|
|
|
plugs:
|
|
|
|
- home
|
2016-09-01 13:23:36 -06:00
|
|
|
- network
|
|
|
|
|
|
|
|
parts:
|
|
|
|
cmake-build:
|
|
|
|
plugin: cmake
|
2016-09-11 17:14:38 -06:00
|
|
|
configflags:
|
|
|
|
- -DBDB_STATIC=1
|
|
|
|
- -DUPNP_STATIC=1
|
|
|
|
- -DBoost_USE_STATIC_LIBS=1
|
|
|
|
- -DBoost_USE_STATIC_RUNTIME=1
|
|
|
|
- -DARCH=default
|
2016-09-01 13:23:36 -06:00
|
|
|
source: .
|
|
|
|
build-packages:
|
|
|
|
- gcc
|
|
|
|
- pkg-config
|
|
|
|
- libunbound-dev
|
|
|
|
- libevent-dev
|
|
|
|
- libboost-all-dev
|
|
|
|
- libdb-dev
|
|
|
|
- libunwind-dev
|
|
|
|
- libminiupnpc-dev
|
|
|
|
- libldns-dev
|
|
|
|
- libexpat1-dev
|
|
|
|
- bison
|
|
|
|
- doxygen
|
|
|
|
- graphviz
|
2016-09-11 17:14:38 -06:00
|
|
|
stage-packages:
|
2016-09-11 20:54:43 -06:00
|
|
|
- libminiupnpc10
|
2016-09-11 17:14:38 -06:00
|
|
|
- libunbound2
|
2016-09-11 20:54:43 -06:00
|
|
|
- libunwind8
|
2017-01-20 16:22:41 -07:00
|
|
|
prime:
|
2016-09-01 13:23:36 -06:00
|
|
|
- bin
|
2017-01-20 16:22:41 -07:00
|
|
|
- usr/lib/
|
|
|
|
- -usr/lib/gcc
|
|
|
|
- -usr/share
|
2017-02-23 18:20:02 -07:00
|
|
|
|
|
|
|
dist-files:
|
|
|
|
plugin: dump
|
|
|
|
source: .
|
|
|
|
organize:
|
|
|
|
contrib/snap/monerod.conf: etc/monerod.conf
|
|
|
|
wrapper:
|
|
|
|
plugin: dump
|
|
|
|
source: contrib/snap/
|
|
|
|
stage: [monerod-wrapper]
|