let-me-create: new package
PATCH 1/1 let-me-create: new package
Signed-off-by Rahul Bedarkar <[email protected]>
--- DEVELOPERS | 1 + package/Config.in | 1 + package/let-me-create/Config.in | 27 +++++++++++++++++++++++++++ package/let-me-create/let-me-create.hash | 2 ++ package/let-me-create/let-me-create.mk | 20 ++++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 package/let-me-create/Config.in create mode 100644 package/let-me-create/let-me-create.hash create mode 100644 package/let-me-create/let-me-create.mk
DEVELOPERS +1 -0
@@ -1309,6 +1309,7 @@ F: package/glog/ F: package/gssdp/ F: package/gupnp/ F: package/gupnp-av/ +F: package/let-me-create/ F: package/nanomsg/ N: Rahul Jain <[email protected]>
package/Config.in +1 -0
@@ -1082,6 +1082,7 @@ menu "Hardware handling" source "package/gnu-efi/Config.in" source "package/hidapi/Config.in" source "package/lcdapi/Config.in" + source "package/let-me-create/Config.in" source "package/libaio/Config.in" source "package/libatasmart/Config.in" source "package/libcec/Config.in"
package/let-me-create/Config.in new file +27 -0
@@ -0,0 +1,27 @@ +config BR2_PACKAGE_LET_ME_CREATE + bool "LetMeCreate" + # build issues in static libs configuration + # see https://github.com/CreatorDev/LetMeCreate/issues/28 + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + help + This library is collection of small wrappers for some + interfaces on Ci40. It aims at making easier to develop + on this platform. It also provides wrappers for a few + clicks. + + https://github.com/CreatorDev/LetMeCreate + +comment "LetMeCreate needs a toolchain w/ C++, threads, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS + +if BR2_PACKAGE_LET_ME_CREATE + +config BR2_PACKAGE_LET_ME_CREATE_EXAMPLES + bool "Build and install examples" + help + Build and install examples + +endif
package/let-me-create/let-me-create.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed +sha256 5f42858a2062f34d2578e9cb1aed3ccb8d2409d908aa4c41a924418666d5f2bd let-me-create-v1.5.2.tar.gz
package/let-me-create/let-me-create.mk new file +20 -0
@@ -0,0 +1,20 @@ +################################################################################ +# +# LetMeCreate +# +################################################################################ + +LET_ME_CREATE_VERSION = v1.5.2 +LET_ME_CREATE_SITE = $(call github,CreatorDev,LetMeCreate,$(LET_ME_CREATE_VERSION)) +LET_ME_CREATE_INSTALL_STAGING = YES +LET_ME_CREATE_LICENSE = BSD-3-Clause +LET_ME_CREATE_LICENSE_FILES = LICENSE +LET_ME_CREATE_CONF_OPTS = -DBUILD_STATIC=OFF -DBUILD_SHARED=ON + +ifeq ($(BR2_PACKAGE_LET_ME_CREATE_EXAMPLES),y) +LET_ME_CREATE_CONF_OPTS += -DBUILD_EXAMPLES=ON +else +LET_ME_CREATE_CONF_OPTS += -DBUILD_EXAMPLES=OFF +endif + +$(eval $(cmake-package))
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH 1/1 let-me-create: new package
Hello,
Quoted 11 lines · Rahul Bedarkar
Signed-off-by Rahul Bedarkar <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/let-me-create/Config.in | 27 +++++++++++++++++++++++++++ package/let-me-create/let-me-create.hash | 2 ++ package/let-me-create/let-me-create.mk | 20 ++++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 package/let-me-create/Config.in create mode 100644 package/let-me-create/let-me-create.hash create mode 100644 package/let-me-create/let-me-create.mk
Applied to master with the following changes:
[Thomas: minor tweaks in Config.in file, adjust .mk file for static+shared build.]
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com