Skip to content

Instantly share code, notes, and snippets.

@JosephKu
Last active December 23, 2015 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JosephKu/6695188 to your computer and use it in GitHub Desktop.
Save JosephKu/6695188 to your computer and use it in GitHub Desktop.
require 'formula'
class Despotify < Formula
head 'https://svn.code.sf.net/p/despotify/code/src'
homepage 'http://despotify.se/'
depends_on 'pkg-config' => :build
depends_on 'libao'
depends_on 'libvorbis'
depends_on 'mpg123'
def install
#system "make Makefile.local.mk"
#inreplace "Makefile.local.mk", "# INSTALL_PREFIX = /usr", "INSTALL_PREFIX = #{prefix}"
system "make"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment