-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage
30 lines (28 loc) · 845 Bytes
/
Package
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
# A set of variables that define how we package this repository
#
plugin_name=coral-enviro
plugin_type=south
plugin_install_dirname=${plugin_name}
# 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,python3-coral-enviro"
case "$arch" in
x86_64)
echo "${plugin_name} is not supported on Intel architectures as it requires ARM GPIO support"
exit 1
;;
armv7l)
;;
aarch64)
;;
esac
case "$package_manager" in
deb)
;;
rpm)
echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!"
exit 0
;;
esac