[package] update nano to 2.1.9 (#4846)
[openwrt/svn-archive/archive.git] / utils / gzip / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gzip
11 PKG_VERSION:=1.3.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.gzip.org/
16 PKG_MD5SUM:=52eaf713673507d21f7abefee98ba662
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/gzip
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=
24 TITLE:=gzip (GNU zip) is a compression utility.
25 URL:=http://www.gzip.org/
26 endef
27
28 define Package/gzip/description
29 gzip (GNU zip) is a compression utility designed to be a \
30 replacement for compress.
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --prefix=/usr \
36 );
37 endef
38
39 define Build/Compile
40 $(call Build/Compile/Default, \
41 CFLAGS="$(TARGET_CFLAGS)" \
42 LDFLAGS="$(TARGET_LDLAGS)" \
43 )
44 endef
45
46 define Package/gzip/install
47 mkdir -p $(1)/usr/bin/
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/gzip $(1)/usr/bin/
49 endef
50
51 $(eval $(call BuildPackage,gzip))
52