be4548ff48
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18500 3c298f89-4303-0410-b956-a3cf2f4a3e73
47 lines
1018 B
Makefile
47 lines
1018 B
Makefile
#
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gzip
|
|
PKG_VERSION:=1.3.13
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@GNU/gzip/
|
|
PKG_MD5SUM:=c54a31b93e865f6a4410b2dc64662706
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/gzip
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=
|
|
TITLE:=gzip (GNU zip) is a compression utility.
|
|
URL:=http://www.gzip.org/
|
|
endef
|
|
|
|
define Package/gzip/description
|
|
gzip (GNU zip) is a compression utility designed to be a \
|
|
replacement for compress.
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
all install
|
|
$(SED) 's,/bin/bash,/bin/sh,g' $(PKG_INSTALL_DIR)/usr/bin/{gunzip,zcat}
|
|
endef
|
|
|
|
define Package/gzip/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{gunzip,gzip,zcat} $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gzip))
|
|
|