require 'formula' class Aften < Formula desc "Audio encoder which generates ATSC A/52 compressed audio streams" homepage 'http://aften.sourceforge.net/' url 'https://downloads.sourceforge.net/aften/aften-0.0.8.tar.bz2' sha1 '1ff73cdcade0624495ad807492cecf14862fb61c' depends_on 'cmake' => :build def install mkdir 'default' do system "cmake", "-DSHARED=ON", "..", *std_cmake_args system "make install" end end end