]> git.tdb.fi Git - builder.git/commitdiff
Move binary packages from builderrc to individual files
authorMikko Rasa <tdb@tdb.fi>
Mon, 23 Jul 2012 19:50:23 +0000 (22:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 23 Jul 2012 19:50:23 +0000 (22:50 +0300)
builderrc
devil.bpk [new file with mode: 0644]
gmpxx.bpk [new file with mode: 0644]
openal.bpk [new file with mode: 0644]
opengl.bpk [new file with mode: 0644]
opengles.bpk [new file with mode: 0644]
xlib.bpk [new file with mode: 0644]

index f8f87888a0058e6492bd503fa0baecbc8a93bffa..c9133d0df496149822e5ce049f8778204d17316e 100644 (file)
--- a/builderrc
+++ b/builderrc
@@ -1,80 +1,3 @@
-/* $Id$ */
-
-binary_package "opengl"
-{
-       build_info
-       {
-               library "GL";
-       };
-};
-
-binary_package "opengles"
-{
-       build_info
-       {
-               library "GLESv2";
-               library "EGL";
-       };
-};
-
-binary_package "opengl/windows"
-{
-       build_info
-       {
-               library "opengl32";
-       };
-};
-
-binary_package "gmpxx"
-{
-       build_info
-       {
-               library "gmpxx";
-       };
-};
-
-binary_package "fmod4"
-{
-       build_info
-       {
-               incpath "@/api/inc";
-               libpath "@/api/lib";
-               library "fmodex";
-       };
-};
-
-binary_package "xlib"
-{
-       build_info
-       {
-               library "X11";
-       };
-};
-
-binary_package "devil"
-{
-       build_info
-       {
-               library "IL";
-       };
-};
-
-binary_package "devil/windows"
-{
-       build_info
-       {
-               library "DevIL";
-       };
-};
-
-binary_package "openal/windows"
-{
-       build_info
-       {
-               library "OpenAL32";
-       };
-};
-
 architecture "arm"
 {
        prefix "arm-linux-gnueabi";
diff --git a/devil.bpk b/devil.bpk
new file mode 100644 (file)
index 0000000..b05a8d7
--- /dev/null
+++ b/devil.bpk
@@ -0,0 +1,21 @@
+binary_package "devil"
+{
+       // XXX DevIL has a .pc file for *nix but not for Windows
+       if_arch "!windows"
+       {
+               build_info
+               {
+                       library "IL";
+               };
+       };
+
+       if_arch "windows"
+       {
+               build_info
+               {
+                       library "DevIL";
+               };
+       };
+
+       header "IL/il.h";
+};
diff --git a/gmpxx.bpk b/gmpxx.bpk
new file mode 100644 (file)
index 0000000..da2d851
--- /dev/null
+++ b/gmpxx.bpk
@@ -0,0 +1,8 @@
+binary_package "gmpxx"
+{
+       build_info
+       {
+               library "gmpxx";
+       };
+       header "gmpxx.h";
+};
diff --git a/openal.bpk b/openal.bpk
new file mode 100644 (file)
index 0000000..5bd52f1
--- /dev/null
@@ -0,0 +1,21 @@
+binary_package "openal"
+{
+       // XXX OpenAL has a .pc file for *nix but not for Windows
+       if_arch "!windows"
+       {
+               build_info
+               {
+                       library "openal";
+               };
+       };
+
+       if_arch "windows"
+       {
+               build_info
+               {
+                       library "OpenAL32";
+               };
+       };
+
+       header "AL/al.h";
+};
diff --git a/opengl.bpk b/opengl.bpk
new file mode 100644 (file)
index 0000000..f48dce3
--- /dev/null
@@ -0,0 +1,20 @@
+binary_package "opengl"
+{
+       if_arch "!windows"
+       {
+               build_info
+               {
+                       library "GL";
+               };
+       };
+
+       if_arch "windows"
+       {
+               build_info
+               {
+                       library "opengl32";
+               };
+       };
+
+       header "GL/gl.h";
+};
diff --git a/opengles.bpk b/opengles.bpk
new file mode 100644 (file)
index 0000000..dbba2b9
--- /dev/null
@@ -0,0 +1,10 @@
+binary_package "opengles"
+{
+       build_info
+       {
+               library "GLESv2";
+               library "EGL";
+       };
+       header "GLES2/gl2.h";
+       header "EGL/egl.h";
+};
diff --git a/xlib.bpk b/xlib.bpk
new file mode 100644 (file)
index 0000000..0618322
--- /dev/null
+++ b/xlib.bpk
@@ -0,0 +1,8 @@
+binary_package "xlib"
+{
+       build_info
+       {
+               library "X11";
+       };
+       header "X11/Xlib.h";
+};