2 # Copyright (C) 2006-2010 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
20 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=gzip
(GNU zip
) is a compression utility.
27 URL
:=http
://www.gzip.org
/
30 define Package
/gzip
/description
31 gzip
(GNU zip
) is a compression utility designed to be a \
32 replacement for compress.
36 gl_cv_func_getopt_gnu
=yes \
38 define Package
/gzip
/install
39 $(SED
) 's,/bin/bash,/bin/sh,g' $(PKG_INSTALL_DIR
)/usr
/bin
/{gunzip
,zcat
}
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/{gunzip
,gzip
,zcat
} $(1)/usr
/bin
/
44 $(eval
$(call BuildPackage
,gzip
))