Stephan Wendel 6071c6fc76
refactor(installl): refactor install chain
This commit should cover the following:

Missing insatllation candidate of libjpeg8-dev in bullseye images,
fixes #16 and #15

Refactores installation of ustreamer.
This should cover #12

Dropped ustreamer as submodule and clone it via install script.
For buster based images it reset the repo to last commit of v4.13 (omx support)
All other will get master branch (latest commit at insatllation)

This enables posibility to write an app updater.

Fixes custompios module according to changes.
2022-06-11 18:59:19 +02:00

50 lines
1023 B
Makefile

#### webcamd - A webcam Service for multiple Cams and Stream Services.
####
#### Written by Stephan Wendel aka KwadFan <me@stephanwe.de>
#### Copyright 2021
#### https://github.com/mainsail-crew/crowsnest
####
#### This File is distributed under GPLv3
####
.PHONY: help install unsinstall build buildclean
# Setup
USER = $(shell whoami)
BIN_FOLDER = bin
all: help
help:
@echo "This is intended to install crowsnest."
@echo ""
@echo "Some Parts need 'sudo' privileges."
@echo "You'll be asked for password, if needed."
@echo ""
@echo " Usage: make [action]"
@echo ""
@echo " Available actions:"
@echo ""
@echo " install Installs crowsnest"
@echo " uninstall Uninstalls crowsnest"
@echo " build builds binaries"
@echo " buildclean cleans binaries (for recompile)"
@echo ""
install:
@bash -c 'tools/install.sh'
unattended:
@bash -c 'tools/install.sh -z'
uninstall:
@bash -c 'tools/uninstall.sh'
build:
$(MAKE) -C $(BIN_FOLDER)
buildclean:
$(MAKE) -C $(BIN_FOLDER) clean