#!/bin/sh sudo aptitude install git build-essential ffmpeg pkg-config libavformat-dev runit git clone `cat m3u8-segmenter-git-repo` cd m3u8-segmenter ./configure make sudo cp m3u8-segmenter /usr/local/bin cd .. sudo cp start-hls.sh /usr/local/bin