<html><body><div><br>---<br> rtems/config/4.11/graphics/libtiff.bset | 20 ++++++++++<br> rtems/config/graphics/libtiff-4.0.2-1.cfg | 21 +++++++++++<br> source-builder/config/libtiff-1.cfg | 62 +++++++++++++++++++++++++++++++<br> 3 files changed, 103 insertions(+)<br> create mode 100644 rtems/config/4.11/graphics/libtiff.bset<br> create mode 100644 rtems/config/graphics/libtiff-4.0.2-1.cfg<br> create mode 100644 source-builder/config/libtiff-1.cfg<br><br>diff --git a/rtems/config/4.11/graphics/libtiff.bset b/rtems/config/4.11/graphics/libtiff.bset<br>new file mode 100644<br>index 0000000..d4a9165<br>--- /dev/null<br>+++ b/rtems/config/4.11/graphics/libtiff.bset<br>@@ -0,0 +1,20 @@<br>+#<br>+# Build set for libtiff<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 libtiff.<br>+#<br>+graphics/libtiff-4.0.2-1.cfg<br>diff --git a/rtems/config/graphics/libtiff-4.0.2-1.cfg b/rtems/config/graphics/libtiff-4.0.2-1.cfg<br>new file mode 100644<br>index 0000000..e0b708e<br>--- /dev/null<br>+++ b/rtems/config/graphics/libtiff-4.0.2-1.cfg<br>@@ -0,0 +1,21 @@<br>+#<br>+# libtiff 4.0.2<br>+#<br>+<br>+%if %{release} == %{nil}<br>+ %define release 1<br>+%endif<br>+<br>+%include %{_configdir}/rtems-bsp.cfg<br>+<br>+#<br>+# tiff Version<br>+#<br>+%define tiff_version 4.0.2<br>+<br>+%hash md5 tiff-%{tiff_version}.tar.gz 04a08fa1e07e696e820a0c3f32465a13<br>+<br>+#<br>+# tiff Build configuration<br>+#<br>+%include %{_configdir}/libtiff-1.cfg<br>diff --git a/source-builder/config/libtiff-1.cfg b/source-builder/config/libtiff-1.cfg<br>new file mode 100644<br>index 0000000..bebc1ce<br>--- /dev/null<br>+++ b/source-builder/config/libtiff-1.cfg<br>@@ -0,0 +1,62 @@<br>+#<br>+# libtiff<br>+#<br>+# This configuration file configure's, make's and install's libtiff.<br>+#<br>+<br>+%if %{release} == %{nil}<br>+%define release 1<br>+%endif<br>+<br>+Name: libtiff-v%{tiff_version}-%{_host}-%{release}<br>+Summary: libtiff provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.<br>+Version: %{tiff_version}<br>+Release: %{release}<br>+URL: <a href="http://www.libtiff.org/">http://www.libtiff.org/</a><br>+BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br>+<br>+#<br>+# libtiff Source<br>+#<br>+%source set libtiff <a href="ftp://ftp.remotesensing.org/pub/libtiff/tiff-%">ftp://ftp.remotesensing.org/pub/libtiff/tiff-%</a>{tiff_version}.tar.gz<br>+<br>+#<br>+# Prepare the source code.<br>+#<br>+%prep<br>+ build_top=$(pwd)<br>+<br>+ source_dir_tiff="tiff-%{tiff_version}"<br>+ %source setup libtiff -q -n tiff-%{tiff_version}<br>+ %patch setup libtiff -p1<br>+<br>+ cd ${build_top}<br>+<br>+%build<br>+ build_top=$(pwd)<br>+<br>+ %{build_directory}<br>+<br>+ mkdir -p ${build_dir}<br>+ cd ${build_dir}<br>+<br>+ %{host_build_flags}<br>+<br>+ CFLAGS= CXXFLAGS= ../${source_dir_tiff}/configure \<br>+ --host=%{_host} \<br>+ --prefix=%{_prefix} \<br>+ --includedir=%{_prefix}/lib/include \<br>+ --disable-shared <br>+<br>+# %{__make} %{?_smp_mflags} all<br>+ %{__make}<br>+ cd ${build_top}<br>+<br>+%install<br>+ build_top=$(pwd)<br>+<br>+ %{__rmdir} $SB_BUILD_ROOT<br>+<br>+ cd ${build_dir}<br>+ %{__make} DESTDIR=$SB_BUILD_ROOT install<br>+ cd ${build_top}<br>-- <br>2.1.0<br><br></div><div></div><div><br></div></body></html>