From f334f009b91a7ed92f37c3a36ccb4decc63b6af8 Mon Sep 17 00:00:00 2001 From: Stephen Walker Date: Wed, 14 Jul 2010 14:19:20 +0000 Subject: [PATCH] [packages] dash: update to 0.5.6.1, use PKG_INSTALL, cleanup SVN-Revision: 22181 --- utils/dash/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/utils/dash/Makefile b/utils/dash/Makefile index 1b9fccece8..84353c126c 100644 --- a/utils/dash/Makefile +++ b/utils/dash/Makefile @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dash -PKG_VERSION:=0.5.5.1 +PKG_VERSION:=0.5.6.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://gondor.apana.org.au/~herbert/dash/files/ -PKG_MD5SUM:=7ac832b440b91f5a52cf8eb68e172616 +PKG_SOURCE_URL:=http://gondor.apana.org.au/~herbert/dash/files +PKG_MD5SUM:=1c846f4f5a33c0050b2045a6f7037e56 + +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -28,18 +30,12 @@ define Package/dash/description A small footprint, POSIX complied unix shell endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ - BINDIR="/bin" \ - AWK="awk" \ - all -endef +MAKE_FLAGS += \ + AWK="awk" \ define Package/dash/install $(INSTALL_DIR) $(1)/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dash $(1)/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dash $(1)/bin/ endef $(eval $(call BuildPackage,dash)) -- 2.30.2