#!/bin/sh -e

./configure      \
   --prefix=/usr

make

install -Dm755 ./fbv "$1/usr/bin/fbv"
install -Dm755 ./fbv.1 "$1/usr/share/man/man1/fbv.1"