2 include Ohcount::Gestalt
6 c_headers 'pthread.h', 'xstrtol.h', 'xreadlink.h', 'fatal-signal.h', 'diacrit.h', 'syslog.h', 'sys/stat.h'
8 # autoconf means m4 (unix macro processor)
12 class Win32 < Platform
14 c_keywords 'WM_PAINT', 'ReleaseDC', 'WndProc', :min => 2
18 language :ruby, :min_percent => 15
21 class Rails < Platform
24 ruby_keywords("RAILS_ROOT")
29 language :java, :min_percent => 15
32 class Javascript < Platform
33 language :javascript, :min_percent => 20
36 class JQuery < Platform
37 filenames 'jquery-\d.\d.\d.min.js'
40 class SpringFramework < Platform
43 filenames('spring\.jar$')
47 class XWindows < Platform
48 c_headers 'Xlib.h', 'X11\/xpm.h', 'X11/Xlib.h'
53 c_keywords 'AppleEvent', 'AEBuildAppleEvent'
55 # plist is a mac thing, right?
60 language :php, :min_percent => 15
63 class WxWidgets < Platform
64 c_headers 'wx/window.h'
67 class CakePHP < Platform
70 php_keywords('CAKE_CORE_INCLUDE_PATH')
75 c_headers 'KDEInit.h', 'kdeversion.h'
82 class MySQL < Platform
83 php_keywords('mysql_connect')
86 class PostgreSQL < Platform
87 php_keywords('pg_connect')
90 class EclipsePlatform < Platform
91 java_import 'org.eclipse.'