+#endif
+
+ ,Package {
+ name = "xlib",
+ import_dirs = if installing
+ then [ "$libdir/imports/xlib" ]
+ else [ "$libdir/hslibs/xlib" ],
+ source_dirs = [],
+ library_dirs = if installing
+ then [ "$libdir" ]
+ else [ "$libdir/hslibs/xlib"
+ , "$libdir/hslibs/xlib/cbits" ],
+ hs_libraries = [ "HSxlib" ],
+ extra_libraries = [ "HSxlib_cbits", "X11" ],
+ include_dirs = if installing
+ then []
+ else [ "$libdir/hslibs/xlib/cbits" ],
+ c_includes = [ "HsXlib.h" ],
+ package_deps = [ "greencard" ],
+ extra_ghc_opts = [],
+ extra_cc_opts = [],
+ extra_ld_opts = []
+ }
+
+ ,Package {
+ name = "HGL",
+ import_dirs = if installing
+ then [ "$libdir/imports/HGL" ]
+ else [ "$libdir/hslibs/graphics/lib/x11" ],
+ source_dirs = [],
+ library_dirs = [],
+ hs_libraries = [ "HSHGL" ],
+ extra_libraries= [],
+ include_dirs = [],
+ c_includes = [],
+ package_deps = [ "xlib", "concurrent" ],
+ extra_ghc_opts = [],
+ extra_cc_opts = [],
+ extra_ld_opts = []
+ }
+