]> git.tdb.fi Git - libs/gui.git/blobdiff - Build
Comment changes
[libs/gui.git] / Build
diff --git a/Build b/Build
index 591c30d58bfa8cc88fb7bd90e42458e01a104d2f..b8730502fd8fafcb20b2d6bde7c50cc07b70f621 100644 (file)
--- a/Build
+++ b/Build
@@ -1,13 +1,8 @@
-/* $Id$ */
-
 package "mspgbase"
 {
-       version "1.0";
+       version "1.1";
        description "Base graphics and input library";
 
-       tar_file "License.txt";
-       tar_file "Changelog.txt";
-
        require "mspcore";
        require "mspstrings";
        require "sigc++-2.0";
@@ -29,14 +24,20 @@ package "mspgbase"
                require "devil";
        };
 
-       feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)";
-       if "with_png"
+       feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)"
+       {
+               default "yes";
+       };
+       if "with_libpng"
        {
                require "libpng";
                require "mspio";
        };
 
-       feature "opengl" "Include support for OpenGL contexts";
+       feature "opengl" "Include support for OpenGL contexts"
+       {
+               default "yes";
+       };
        if "with_opengl"
        {
                require "opengl";
@@ -51,16 +52,16 @@ package "mspgbase"
                };
        };
 
-       headers "gbase"
+       headers "msp/gbase"
        {
                source "source/gbase";
-               install_headers "msp/gbase";
+               install true;
        };
 
-       headers "input"
+       headers "msp/input"
        {
                source "source/input";
-               install_headers "msp/input";
+               install true;
        };
 
        library "mspgbase"
@@ -69,4 +70,10 @@ package "mspgbase"
                source "source/input";
                install true;
        };
+
+       tarball "@src"
+       {
+               source "License.txt";
+               source "Changelog.txt";
+       };
 };