forked from fledge-iot/fledge-notify-email
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage
More file actions
28 lines (26 loc) · 709 Bytes
/
Package
File metadata and controls
28 lines (26 loc) · 709 Bytes
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
# A set of variables that define how we package this repository
#
plugin_name=email
plugin_type=notify
plugin_install_dirname=email
# Now build up the runtime requirements list. This has 3 components
# 1. Generic packages we depend on in all architectures and package managers
# 2. Architecture specific packages we depend on
# 3. Package manager specific packages we depend on
requirements="fledge,fledge-service-notification"
case "$arch" in
x86_64)
;;
armv7l)
;;
aarch64)
;;
esac
case "$package_manager" in
deb)
requirements="${requirements},libcurl4-openssl-dev"
;;
rpm)
requirements="${requirements},curl,libcurl,curl-devel,libcurl-devel"
;;
esac