diff --git a/Description b/Description new file mode 100644 index 0000000..8a711d7 --- /dev/null +++ b/Description @@ -0,0 +1 @@ +FogLAMP South Sense HAT plugin for Raspberry PI \ No newline at end of file diff --git a/Package b/Package new file mode 100644 index 0000000..c6a82c6 --- /dev/null +++ b/Package @@ -0,0 +1,32 @@ +# A set of variables that define how we package this repository +# +plugin_name=sensehat +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="foglamp,sense-hat" + +case "$arch" in + x86_64) + ;; + armhf) + ;; + aarch64) + ;; +esac +case "$package_manager" in + deb) + if [ "$arch" != "armhf" ]; then + echo "Deb Package building for ${plugin_name} is only supported on armhf architecture!!" + exit 0 + fi + ;; + rpm) + echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!" + exit 0 + ;; +esac