recipes 0.4.2 (new formula)

This commit adds a formula for GNOME recipes, which is an application
for cooking and managing recipes.
This commit is contained in:
Matthias Clasen 2016-12-29 16:32:32 -05:00 committed by Mike McQuaid
parent 3e4cbc068d
commit eb3fbcfc91

27
Formula/recipes.rb Normal file
View file

@ -0,0 +1,27 @@
class Recipes < Formula
desc "Formula for GNOME recipes"
homepage "https://wiki.gnome.org/Apps/Recipes"
url "https://download.gnome.org/sources/recipes/0.4/recipes-0.4.2.tar.xz"
sha256 "9554d4f5d97eb9cd4032de0e4f9cc27a218c32d022dd1917a7e9efbd379c5bc1"
depends_on "gtk+3"
depends_on "gnome-icon-theme"
def install
# orces use of gtk3-update-icon-cache instead of gtk-update-icon-cache. No bugreport should
# be filed for this since it only occurs because Homebrew renames gtk+3's gtk-update-icon-cache
# to gtk3-update-icon-cache in order to avoid a collision between gtk+ and gtk+3.
inreplace "data/Makefile.in", "gtk-update-icon-cache", "gtk3-update-icon-cache"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--disable-debug",
"--prefix=#{prefix}",
"--disable-autoar",
"--disable-gspell"
system "make", "install"
end
test do
system "recipes", "--help"
end
end