2 # Copyright (C) 2006 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:=http://www.gzip.org/
16 PKG_MD5SUM:=52eaf713673507d21f7abefee98ba662
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
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.
35 define Build/Configure
36 $(call Build/Configure/Default, \
42 $(call Build/Compile/Default, \
43 CFLAGS="$(TARGET_CFLAGS)" \
44 LDFLAGS="$(TARGET_LDLAGS)" \
48 define Package/gzip/install
49 mkdir -p $(1)/usr/bin/
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/gzip $(1)/usr/bin/
53 $(eval $(call BuildPackage,gzip))