spec-create: preliminary support for scon
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
238924c705
commit
e4ce9bf357
@ -40,6 +40,11 @@ Changes in version 1.9.3
|
|||||||
* i18n - Davide Madrisan:
|
* i18n - Davide Madrisan:
|
||||||
Updated.
|
Updated.
|
||||||
|
|
||||||
|
+ update
|
||||||
|
* spec-create - Davide Madrisan:
|
||||||
|
Preliminary support for scon.
|
||||||
|
(Feature asked by Silvan Calarco.)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.9.2
|
Changes in version 1.9.2
|
||||||
|
@ -46,6 +46,10 @@ spec_cmd_configure_cmake="%cmake -d build"
|
|||||||
spec_cmd_make_cmake="%make"
|
spec_cmd_make_cmake="%make"
|
||||||
spec_cmd_makeinstall_cmake="%makeinstall -C build"
|
spec_cmd_makeinstall_cmake="%makeinstall -C build"
|
||||||
|
|
||||||
|
spec_cmd_configure_scons=""
|
||||||
|
spec_cmd_make_scons="scons"
|
||||||
|
spec_cmd_makeinstall_scons="scons install DESTDIR=%{buildroot}/<ADDME>"
|
||||||
|
|
||||||
spec_cmd_configure_makefileonly=""
|
spec_cmd_configure_makefileonly=""
|
||||||
spec_cmd_make_makefileonly="%make"
|
spec_cmd_make_makefileonly="%make"
|
||||||
spec_cmd_makeinstall_makefileonly="%makeinstall"
|
spec_cmd_makeinstall_makefileonly="%makeinstall"
|
||||||
@ -336,6 +340,11 @@ shared-libraries:,debug-package:,\
|
|||||||
spec_cmd_make="$spec_cmd_make_makefileonly"
|
spec_cmd_make="$spec_cmd_make_makefileonly"
|
||||||
spec_cmd_makeinstall="$spec_cmd_makeinstall_makefileonly"
|
spec_cmd_makeinstall="$spec_cmd_makeinstall_makefileonly"
|
||||||
;;
|
;;
|
||||||
|
scons)
|
||||||
|
spec_cmd_configure="$spec_cmd_configure_scons"
|
||||||
|
spec_cmd_make="$spec_cmd_make_scons"
|
||||||
|
spec_cmd_makeinstall="$spec_cmd_makeinstall_scons"
|
||||||
|
;;
|
||||||
unknown)
|
unknown)
|
||||||
notify.warning $"unknown build techonology"
|
notify.warning $"unknown build techonology"
|
||||||
spec_cmd_configure="$spec_cmd_configure_default"
|
spec_cmd_configure="$spec_cmd_configure_default"
|
||||||
@ -747,6 +756,10 @@ ${standard_docs_devel:+$standard_docs_devel }$currdoc"
|
|||||||
build_techology="autotools"
|
build_techology="autotools"
|
||||||
elif [ -e $tmpdir/$pck_rootdir/Makefile ]; then
|
elif [ -e $tmpdir/$pck_rootdir/Makefile ]; then
|
||||||
build_techology="makefile"
|
build_techology="makefile"
|
||||||
|
elif [ -e $tmpdir/$pck_rootdir/SConstruct -o \
|
||||||
|
-e $tmpdir/$pck_rootdir/Sconstruct -o \
|
||||||
|
-e $tmpdir/$pck_rootdir/sconstruct ]; then
|
||||||
|
build_techology="scons"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user