From 278c6bd7ef882ba0fff9be0dfd067cc255ed8059 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 23 Jul 2012 22:50:23 +0300 Subject: [PATCH] Move binary packages from builderrc to individual files --- builderrc | 77 ---------------------------------------------------- devil.bpk | 21 ++++++++++++++ gmpxx.bpk | 8 ++++++ openal.bpk | 21 ++++++++++++++ opengl.bpk | 20 ++++++++++++++ opengles.bpk | 10 +++++++ xlib.bpk | 8 ++++++ 7 files changed, 88 insertions(+), 77 deletions(-) create mode 100644 devil.bpk create mode 100644 gmpxx.bpk create mode 100644 openal.bpk create mode 100644 opengl.bpk create mode 100644 opengles.bpk create mode 100644 xlib.bpk diff --git a/builderrc b/builderrc index f8f8788..c9133d0 100644 --- 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 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 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 index 0000000..5bd52f1 --- /dev/null +++ b/openal.bpk @@ -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 index 0000000..f48dce3 --- /dev/null +++ b/opengl.bpk @@ -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 index 0000000..dbba2b9 --- /dev/null +++ b/opengles.bpk @@ -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 index 0000000..0618322 --- /dev/null +++ b/xlib.bpk @@ -0,0 +1,8 @@ +binary_package "xlib" +{ + build_info + { + library "X11"; + }; + header "X11/Xlib.h"; +}; -- 2.45.2