[Packages] utils/bzip2: Update to 1.0.5

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10646 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
olli 2008-03-22 16:00:42 +00:00
parent 929ed1a828
commit 675a5d1562

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007 OpenWrt.org # Copyright (C) 2007-2008 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,14 +9,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=bzip2 PKG_NAME:=bzip2
PKG_VERSION:=1.0.4 PKG_VERSION:=1.0.5
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)/ PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)
PKG_MD5SUM:=fc310b254f6ba5fbb5da018f04533688 PKG_MD5SUM:=3c15a0c8d1d3ee1c46a1634d00617b1a
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -29,23 +27,16 @@ define Package/bzip2
endef endef
define Package/bzip2/description define Package/bzip2/description
bzip2 is a freely available, patent free, high-quality \ bzip2 is a freely available, patent free, high-quality
data compressor. data compressor.
endef endef
define Build/Configure CONFIGURE_ARGS += --prefix=/usr
$(call Build/Configure/Default, \
--prefix=/usr \
);
endef
define Build/Compile MAKE_FLAGS += \
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDLAGS)" \ LDFLAGS="$(TARGET_LDLAGS)" \
bzip2 \ bzip2 \
)
endef
define Build/InstallDev define Build/InstallDev
mkdir -p $(1)/usr/include mkdir -p $(1)/usr/include
@ -56,8 +47,7 @@ endef
define Package/bzip2/install define Package/bzip2/install
mkdir -p $(1)/usr/bin/ mkdir -p $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bzip2 $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef endef
$(eval $(call BuildPackage,bzip2)) $(eval $(call BuildPackage,bzip2))