Skip to content

Instantly share code, notes, and snippets.

@hanxue
Created November 19, 2013 18:30
Show Gist options
  • Save hanxue/7550068 to your computer and use it in GitHub Desktop.
Save hanxue/7550068 to your computer and use it in GitHub Desktop.
require 'formula'
class Embryo < Formula
homepage 'http://trac.enlightenment.org/e/wiki/Embryo'
url 'http://download.enlightenment.org/releases/embryo-1.7.9.tar.gz'
sha1 '1644da0be669213ce9ed29f1b58e9c6f3ab7c05c'
bottle do
sha1 'e7b45ea68026cad70f40749fb72a06edc1b4993b' => :mavericks
sha1 'bbe78a3f73d4f47fa6af3e82cc04d794833b5ec8' => :mountain_lion
sha1 '0b804761db5644ce4ef794b11d57a238f180043c' => :lion
end
head do
url 'http://svn.enlightenment.org/svn/e/trunk/embryo/'
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build
depends_on 'eina'
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment