mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
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
This commit is contained in:
20
bare/config/devel/swig-4.0.1.cfg
Normal file
20
bare/config/devel/swig-4.0.1.cfg
Normal file
@@ -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
|
19
bare/config/devel/swig.bset
Normal file
19
bare/config/devel/swig.bset
Normal file
@@ -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
|
Reference in New Issue
Block a user