On Fri, Mar 22, 2019 at 11:35:10AM +0100, Lucas Stach wrote:
> This adds the Extra CMake Modules package, which provides CMake
> modules commonly used by software produced by the KDE community.
> 
> Signed-off-by: Lucas Stach <[email protected]>
> ---
>  rules/host-cmake-ecm.in   |  8 ++++++++
>  rules/host-cmake-ecm.make | 33 +++++++++++++++++++++++++++++++++
>  2 files changed, 41 insertions(+)
>  create mode 100644 rules/host-cmake-ecm.in
>  create mode 100644 rules/host-cmake-ecm.make
> 
> diff --git a/rules/host-cmake-ecm.in b/rules/host-cmake-ecm.in
> new file mode 100644
> index 000000000000..a5029f94b3d8
> --- /dev/null
> +++ b/rules/host-cmake-ecm.in
> @@ -0,0 +1,8 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_CMAKE_ECM
> +     tristate

        select HOST_CMAKE

> +     default y if ALLYES
> +     help
> +       Extra CMake Modules adds CMake modules commonly used
> +       by software produced by the KDE community.
> diff --git a/rules/host-cmake-ecm.make b/rules/host-cmake-ecm.make
> new file mode 100644
> index 000000000000..b439e0f9c4cb
> --- /dev/null
> +++ b/rules/host-cmake-ecm.make
> @@ -0,0 +1,33 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2019 by Lucas Stach <[email protected]>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_CMAKE_ECM) += host-cmake-ecm
> +
> +#
> +# Paths and names
> +#
> +HOST_CMAKE_ECM_VERSION               := 5.56

Use the full version here.

> +HOST_CMAKE_ECM_VERSION_PATCH := 0
> +HOST_CMAKE_ECM_MD5           := 89be75b53098e1e6cd9b2e30b0bb9e44
> +HOST_CMAKE_ECM                       := 
> extra-cmake-modules-$(HOST_CMAKE_ECM_VERSION).$(HOST_CMAKE_ECM_VERSION_PATCH)
> +HOST_CMAKE_ECM_SUFFIX                := tar.xz
> +HOST_CMAKE_ECM_URL           := 
> https://download.kde.org/stable/frameworks/$(HOST_CMAKE_ECM_VERSION)/$(HOST_CMAKE_ECM).$(HOST_CMAKE_ECM_SUFFIX)

        .../$(basename 
$(HOST_CMAKE_ECM_VERSION))/$(HOST_CMAKE_ECM).$(HOST_CMAKE_ECM_SUFFIX)

> +HOST_CMAKE_ECM_SOURCE                := 
> $(SRCDIR)/$(HOST_CMAKE_ECM).$(HOST_CMAKE_ECM_SUFFIX)
> +HOST_CMAKE_ECM_DIR           := $(HOST_BUILDDIR)/$(HOST_CMAKE_ECM)

No license?

> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------

Add an empty line here.

Michael

> +HOST_CMAKE_ECM_CONF_TOOL     := cmake
> +
> +# vim: syntax=make
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to