summaryrefslogtreecommitdiffstats
path: root/bare
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-09-12 20:09:13 +1000
committerChris Johns <chrisj@rtems.org>2019-09-16 08:21:40 +1000
commit4b7af073000d612b21b9dece538d2bcc85c0c240 (patch)
tree06d63a8d5a04974af5af8215d547d261ebd073d9 /bare
parentsb/setbuilder: Add a trace to help installing. (diff)
downloadrtems-source-builder-4b7af073000d612b21b9dece538d2bcc85c0c240.tar.bz2
5/llvm: Add LLVM as a package for RTEMS.
- Add '%source download <source>' to only download the source and do not unpack and prep. This can used when a package internally needs another source package. - Install the staging root only if it is present. A package may internally build another package that is not staged as it is not suitable for installing. Updates #3250 Updatew #3797
Diffstat (limited to 'bare')
-rw-r--r--bare/config/devel/swig-4.0.1.cfg20
-rw-r--r--bare/config/devel/swig.bset19
2 files changed, 39 insertions, 0 deletions
diff --git a/bare/config/devel/swig-4.0.1.cfg b/bare/config/devel/swig-4.0.1.cfg
new file mode 100644
index 0000000..9352862
--- /dev/null
+++ b/bare/config/devel/swig-4.0.1.cfg
@@ -0,0 +1,20 @@
+#
+# SWIG 4.0.1
+#
+
+%if %{release} == %{nil}
+%define release 1
+%endif
+
+%include %{_configdir}/base.cfg
+
+%define swig_version 4.0.1
+%hash sha512 swig-rel-%{swig_version}.tar.gz AeegX9wtAHvY40gxQoEHXIx4RuQG4KpSopReBWwbsmhzfLSz8saStvixkhNgl+ZygHCgGqRFPQdQrArxLLQDSg==
+
+%define pcre_version 8.40
+%hash sha512 pcre-%{pcre_version}.tar.bz2 tMJ+r73zO9ehOEZVsZNvS+O8Z0XAcjR+sm6YiJbFJmS9haxCRE2hvni24g9Ftsflkh9fIPWwdBtb09mETlvU4g==
+
+#
+# The SWIG build instructions.
+#
+%include %{_configdir}/swig-4-1.cfg
diff --git a/bare/config/devel/swig.bset b/bare/config/devel/swig.bset
new file mode 100644
index 0000000..c269f24
--- /dev/null
+++ b/bare/config/devel/swig.bset
@@ -0,0 +1,19 @@
+#
+# Build set for SWIG
+#
+
+%define release 1
+
+#
+# Name of the package.
+#
+package: swig-%{swig_version}-%{_host}-%{release}
+
+#
+# A magic internal path that would break if changes in the defaults.mc
+# macro file are made.
+#
+%define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
+
+devel/autotools-internal
+devel/swig-4.0.1