[packages] dash: update to 0.5.6.1, use PKG_INSTALL, cleanup
[packages.git] / utils / dash / Makefile
1
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dash
11 PKG_VERSION:=0.5.6.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://gondor.apana.org.au/~herbert/dash/files
16 PKG_MD5SUM:=1c846f4f5a33c0050b2045a6f7037e56
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/dash
23   SECTION:=base
24   CATEGORY:=Base system
25   TITLE:=Debian Almquist shell
26   URL:=http://gondor.apana.org.au/~herbert/dash/
27 endef
28
29 define Package/dash/description
30  A small footprint, POSIX complied unix shell
31 endef
32
33 MAKE_FLAGS += \
34         AWK="awk" \
35
36 define Package/dash/install
37         $(INSTALL_DIR) $(1)/bin
38         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dash $(1)/bin/
39 endef
40
41 $(eval $(call BuildPackage,dash))