2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.bzip.org
/$(PKG_VERSION
)/
17 PKG_MD5SUM
:=fc310b254f6ba5fbb5da018f04533688
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=bzip2 is a compression utility.
28 URL
:=http
://www.bzip.org
/
31 define Package
/dmidecode
/description
32 bzip2 is a freely available
, patent free
, high-quality \
36 define Build
/Configure
37 $(call Build
/Configure
/Default
, \
43 $(call Build
/Compile
/Default
, \
44 CFLAGS
="$(TARGET_CFLAGS)" \
45 LDFLAGS
="$(TARGET_LDLAGS)" \
50 define Package
/bzip2
/install
51 mkdir
-p
$(1)/usr
/bin
/
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/bzip2
$(1)/usr
/bin
/
55 $(eval
$(call BuildPackage
,bzip2
))