| 
									
										
										
										
											2013-05-09 23:53:26 -05:00
										 |  |  | module FormulaCompat | 
					
						
							|  |  |  |   def x11_installed? | 
					
						
							|  |  |  |     MacOS::X11.installed? | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   def snow_leopard_64? | 
					
						
							|  |  |  |     MacOS.prefer_64_bit? | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Formula | 
					
						
							|  |  |  |   include FormulaCompat | 
					
						
							|  |  |  |   extend FormulaCompat | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   def std_cmake_parameters | 
					
						
							|  |  |  |     "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev" | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-04-21 18:50:22 +01:00
										 |  |  |   def cxxstdlib | 
					
						
							|  |  |  |     self.class.cxxstdlib | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   def cxxstdlib_check check_type | 
					
						
							|  |  |  |     self.class.cxxstdlib_check check_type | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-05-09 23:53:26 -05:00
										 |  |  |   def self.bottle_sha1(*) | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   def self.all | 
					
						
							|  |  |  |     opoo "Formula.all is deprecated, use Formula.map instead" | 
					
						
							|  |  |  |     map | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class UnidentifiedFormula < Formula | 
					
						
							|  |  |  | end |