<html><body><div>---<br> rtems/config/4.11/graphics/nxlib.bset | 20 ++++++++++<br> rtems/config/graphics/nxlib-0.47-dev-1.cfg | 19 +++++++++<br> source-builder/config/nxlib-1.cfg | 62 ++++++++++++++++++++++++++++++<br> 3 files changed, 101 insertions(+)<br> create mode 100644 rtems/config/4.11/graphics/nxlib.bset<br> create mode 100644 rtems/config/graphics/nxlib-0.47-dev-1.cfg<br> create mode 100644 source-builder/config/nxlib-1.cfg<br><br>diff --git a/rtems/config/4.11/graphics/nxlib.bset b/rtems/config/4.11/graphics/nxlib.bset<br>new file mode 100644<br>index 0000000..a80fb0e<br>--- /dev/null<br>+++ b/rtems/config/4.11/graphics/nxlib.bset<br>@@ -0,0 +1,20 @@<br>+#<br>+# Build set for nxlib<br>+#<br>+<br>+%define release 1<br>+<br>+#<br>+# RTEMS Version<br>+#<br>+%define rtems_version 4.11<br>+<br>+#<br>+# The RTEMS URL paths.<br>+#<br>+%include rtems-urls.bset<br>+<br>+#<br>+# Build nxlib.<br>+#<br>+graphics/nxlib-0.47-dev-1.cfg<br>diff --git a/rtems/config/graphics/nxlib-0.47-dev-1.cfg b/rtems/config/graphics/nxlib-0.47-dev-1.cfg<br>new file mode 100644<br>index 0000000..deed54e<br>--- /dev/null<br>+++ b/rtems/config/graphics/nxlib-0.47-dev-1.cfg<br>@@ -0,0 +1,19 @@<br>+#<br>+# nxlib 0.47<br>+#<br>+<br>+%if %{release} == %{nil}<br>+ %define release 1<br>+%endif<br>+<br>+%include %{_configdir}/rtems-bsp.cfg<br>+<br>+#<br>+# nxlib Version<br>+#<br>+%define nxlib_version 0.47-dev<br>+<br>+#<br>+# nxlib Build configuration<br>+#<br>+%include %{_configdir}/nxlib-1.cfg<br>diff --git a/source-builder/config/nxlib-1.cfg b/source-builder/config/nxlib-1.cfg<br>new file mode 100644<br>index 0000000..0323ee8<br>--- /dev/null<br>+++ b/source-builder/config/nxlib-1.cfg<br>@@ -0,0 +1,62 @@<br>+#<br>+# nxlib<br>+#<br>+# This configuration file configure's, make's and install's nxlib.<br>+#<br>+<br>+%if %{release} == %{nil}<br>+%define release 1<br>+%endif<br>+<br>+Name: nxlib-v%{nxlib_version}-%{_host}-%{release}<br>+Summary: nxlib is a wrapper library that provides closer compatibility to the Xlib API for Nano-X<br>+Version: %{nxlib_version}<br>+Release: %{release}<br>+URL: http://www.microwindows.org/<br>+BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br>+<br>+#<br>+# nxlib Source<br>+#<br>+%source set nxlib git://github.com/alex-sever-h/nxlib.git<br>+<br>+#<br>+# Prepare the source code.<br>+#<br>+%prep<br>+ build_top=$(pwd)<br>+<br>+ source_dir_nxlib="nxlib"<br>+ %source setup nxlib -q -n nxlib<br>+<br>+ cd ${build_top}<br>+<br>+#<br>+# Build the source code. <br>+# The configure should be run in the source dir<br>+#<br>+%build<br>+ build_top=$(pwd)<br>+<br>+ %{build_directory}<br>+<br>+ mkdir -p ${build_dir}<br>+ cd ${build_dir}<br>+ cp -r ${build_top}/${source_dir_nxlib}/* .<br>+<br>+ export RTEMS_MAKEFILE_PATH=%{_exec_prefix}<br>+<br>+ make -f Makefile.rtems<br>+<br>+ cd ${build_top}<br>+<br>+%install<br>+ build_top=$(pwd)<br>+<br>+ %{__rmdir} $SB_BUILD_ROOT<br>+<br>+ cd ${build_dir}<br>+ mkdir -p $SB_BUILD_ROOT/%{_includedir}/X11<br>+ mkdir -p $SB_BUILD_ROOT/%{_libdir}<br>+ cp -r X11/*.h $SB_BUILD_ROOT/%{_includedir}/X11<br>+ cp libX11.a $SB_BUILD_ROOT/%{_libdir}<br>-- <br>2.1.0<br><br></div><div></div><div><br></div></body></html>