2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@GNU/gzip/
16 PKG_MD5SUM:=c54a31b93e865f6a4410b2dc64662706
18 include $(INCLUDE_DIR)/package.mk
24 TITLE:=gzip (GNU zip) is a compression utility.
25 URL:=http://www.gzip.org/
28 define Package/gzip/description
29 gzip (GNU zip) is a compression utility designed to be a \
30 replacement for compress.
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
37 $(SED) 's,/bin/bash,/bin/sh,g' $(PKG_INSTALL_DIR)/usr/bin/{gunzip,zcat}
40 define Package/gzip/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(CP) $(PKG_INSTALL_DIR)/usr/bin/{gunzip,gzip,zcat} $(1)/usr/bin/
45 $(eval $(call BuildPackage,gzip))