Add gzip package.
Quicker than busybox's implementation. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@9631 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3569c05e42
commit
ac257c1cc5
55
utils/gzip/Makefile
Normal file
55
utils/gzip/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gzip
|
||||
PKG_VERSION:=1.3.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.gzip.org/
|
||||
PKG_MD5SUM:=52eaf713673507d21f7abefee98ba662
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
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/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--prefix=/usr \
|
||||
);
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDLAGS)" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/gzip/install
|
||||
mkdir -p $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/gzip $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gzip))
|
||||
|
Loading…
x
Reference in New Issue
Block a user