Browse Source

Added mecached bits. (#5)

configure-hook
Pete Vander Giessen 3 years ago
committed by GitHub
parent
commit
bccd81e4a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      snapcraft.yaml

21
snapcraft.yaml

@ -184,6 +184,13 @@ apps:
escript:
command: bin/escript
# Memcached
memcached:
command: bin/memcached
daemon: simple
plugs:
- network-bind
parts:
# Keystone
keystone:
@ -584,3 +591,17 @@ parts:
export RMQ_ERLAPP_DIR=$RMQ_LIBDIR/rabbitmq_server
make
make install
# Memcached
memcached:
plugin: autotools
source: https://memcached.org/files/memcached-1.5.10.tar.gz
build-packages:
- libevent-dev
- gcc
- make
override-build: |
./configure --prefix=$SNAPCRAFT_PART_INSTALL
make
make test
make install
Loading…
Cancel
Save