dash: bump to version 0.5.8-1

Add hash file and use $(INSTALL) instead of cp for proper mode handling.

[Peter: drop /bin/sh handling as we're going to handle it globally]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2014-10-08 10:19:45 -03:00 committed by Peter Korsgaard
parent c706ae2117
commit 9a0990c408
3 changed files with 6 additions and 3 deletions

3
package/dash/dash.hash Normal file
View File

@ -0,0 +1,3 @@
# From http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.8-1.dsc
sha256 c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f dash_0.5.8.orig.tar.gz
sha256 d751769cc1ef8b825a177e782f1cd3e35bde7c268107fa4febf8d235e12c64d9 dash_0.5.8-1.diff.gz

View File

@ -4,15 +4,15 @@
#
################################################################################
DASH_VERSION = 0.5.7
DASH_VERSION = 0.5.8
DASH_SOURCE = dash_$(DASH_VERSION).orig.tar.gz
DASH_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/d/dash
DASH_PATCH = dash_$(DASH_VERSION)-3.diff.gz
DASH_PATCH = dash_$(DASH_VERSION)-1.diff.gz
DASH_LICENSE = BSD-3c, GPLv2+ (mksignames.c)
DASH_LICENSE_FILES = COPYING
define DASH_INSTALL_TARGET_CMDS
cp -a $(@D)/src/dash $(TARGET_DIR)/bin/dash
$(INSTALL) -m 0755 $(@D)/src/dash $(TARGET_DIR)/bin/dash
endef
$(eval $(autotools-package))