From 4b7af073000d612b21b9dece538d2bcc85c0c240 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 12 Sep 2019 20:09:13 +1000 Subject: 5/llvm: Add LLVM as a package for RTEMS. - Add '%source download ' 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 --- bare/config/devel/swig-4.0.1.cfg | 20 ++++++++++++++++++++ bare/config/devel/swig.bset | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 bare/config/devel/swig-4.0.1.cfg create mode 100644 bare/config/devel/swig.bset (limited to 'bare') 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 -- cgit v1.2.3