Skip to contentSkip to conversation

linenoise: bump version

PATCH New Francois Perrad 2 participants 4 messages Sep 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 linenoise: bump version

---
 package/linenoise/linenoise.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/linenoise/linenoise.mk +1 -1
index 4cb1427..562b445 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LINENOISE_VERSION = 27a3b4d5205a5fb3e2101128edd6653bd0c92189
+LINENOISE_VERSION = 828b9dacc52d4ad5a15c89be8fb8691d224f9a4f
 LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION))
 LINENOISE_LICENSE = BSD-2c
 LINENOISE_INSTALL_STAGING = YES
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 2/2 linenoise: install nothing on target

linenoise is a static library, so it's enough to install on staging. and the linenoise_example executable is not really useful.

---
 package/linenoise/linenoise.mk | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
package/linenoise/linenoise.mk +2 -6
index 562b445..aff0c7d 100644
@@ -8,6 +8,8 @@ LINENOISE_VERSION = 828b9dacc52d4ad5a15c89be8fb8691d224f9a4f
 LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION))
 LINENOISE_LICENSE = BSD-2c
 LINENOISE_INSTALL_STAGING = YES
+# Static library only, nothing to install on target
+LINENOISE_INSTALL_TARGET = NO
 
 define LINENOISE_BUILD_CMDS
 	cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
@@ -21,10 +23,4 @@ define LINENOISE_INSTALL_STAGING_CMDS
 	$(INSTALL) -m 755 -D $(@D)/linenoise_example    $(STAGING_DIR)/usr/bin/linenoise_example
 endef
 
-define LINENOISE_INSTALL_TARGET_CMDS
-	$(INSTALL) -m 644 -D $(@D)/linenoise.h          $(TARGET_DIR)/usr/include/linenoise.h
-	$(INSTALL) -m 644 -D $(@D)/liblinenoise.a       $(TARGET_DIR)/usr/lib/liblinenoise.a
-	$(INSTALL) -m 755 -D $(@D)/linenoise_example    $(TARGET_DIR)/usr/bin/linenoise_example
-endef
-
 $(eval $(generic-package))
Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 2/2 linenoise: install nothing on target

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Francois" == Francois Perrad <[email protected]> writes:

linenoise is a static library, so it's enough to install on staging. and the linenoise_example executable is not really useful.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard