class Fbida < Formula desc "View and edit photo images" homepage "https://linux.bytesex.org/fbida/" url "https://dl.bytesex.org/releases/fbida/fbida-2.10.tar.gz" sha256 "7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6" revision 1 bottle do cellar :any sha256 "bdc5bad7177b186bee92bc1bc732b731dd6e61fe6f69acda3b162b63b4b1da8d" => :sierra sha256 "894583241a8c2d9dc4c1469aff9c54fc1bfb0753b5fc7c77ce65a146bbc37b2d" => :el_capitan sha256 "955464b7cbc3ca89cce48a791f9f13ae0c128f0d5a258c630d93443ce0eabdb7" => :yosemite end depends_on "libexif" depends_on "jpeg" # Fix issue in detection of jpeg library patch :DATA def install ENV.append "LDFLAGS", "-liconv" system "make" bin.install "exiftran" man1.install "exiftran.man" => "exiftran.1" end test do system "#{bin}/exiftran", "-9", "-o", "out.jpg", test_fixtures("test.jpg") end end __END__ diff --git a/GNUmakefile b/GNUmakefile index 2d18ab4..5b409fb 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -30,7 +30,7 @@ include $(srcdir)/mk/Autoconf.mk ac_jpeg_ver = $(shell \ $(call ac_init,for libjpeg version);\ - $(call ac_s_cmd,echo JPEG_LIB_VERSION \ + $(call ac_s_cmd,printf JPEG_LIB_VERSION \ | cpp -include jpeglib.h | tail -n 1);\ $(call ac_fini))