picocom: bump to version 2.0
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 8 Oct 2015 09:47:20 +0000 (10:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Oct 2015 13:26:08 +0000 (15:26 +0200)
- Bump to version 2.0
- Switch the download site to GitHub
- Apply an upstream patch to fix a missing define
- Add a hash file
- Rewrap the help text to 72 characters length
- Change the official website

[Thomas: fix s/MAKE_ENV/TARGET_MAKE_ENV/.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/picocom/Config.in
package/picocom/picocom.hash [new file with mode: 0644]
package/picocom/picocom.mk

index 5a7d5833a49022c8389e27ded71c851b1153e01a..671d01fb5ab611f5a1e4459e7ba312154cdb2667 100644 (file)
@@ -2,8 +2,7 @@ config BR2_PACKAGE_PICOCOM
        bool "picocom"
        depends on BR2_USE_MMU # fork()
        help
-         picocom is a minimal dumb-terminal emulation program. It
-         is, in principle, very much like minicom, only it's pico
-         instead of mini!
+         picocom is a minimal dumb-terminal emulation program. It is, in
+         principle, very much like minicom, only it's pico instead of mini!
 
-         http://code.google.com/p/picocom/
+         https://github.com/npat-efault/picocom/
diff --git a/package/picocom/picocom.hash b/package/picocom/picocom.hash
new file mode 100644 (file)
index 0000000..7eada03
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 e0f7095c118f43c1c09787a16ef5c7d4c4ad4457dd3b1281efcc4cdb8906af9a  picocom-2.0.tar.gz
+sha256 37746613c05ecf4058c989ef7042b85ef0308886f3731a9dfffdadd19cc9ecfb  2c4c2317592daac97aac6669fd7b68e07a3dbec6.patch
index 7858d2bf67d6fb01bcb5099216c1078211ca2579..106de94d774e9ee8eebef3f82200e788a3e9042f 100644 (file)
@@ -4,13 +4,14 @@
 #
 ################################################################################
 
-PICOCOM_VERSION = 1.7
-PICOCOM_SITE = http://picocom.googlecode.com/files
+PICOCOM_VERSION = 2.0
+PICOCOM_SITE = $(call github,npat-efault,picocom,$(PICOCOM_VERSION))
 PICOCOM_LICENSE = GPLv2+
 PICOCOM_LICENSE_FILES = LICENSE.txt
+PICOCOM_PATCH = https://github.com/npat-efault/picocom/commit/2c4c2317592daac97aac6669fd7b68e07a3dbec6.patch
 
 define PICOCOM_BUILD_CMDS
-       $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+       $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
 endef
 
 define PICOCOM_INSTALL_TARGET_CMDS