Add bzip2 package.
Add bzip2 package. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@9617 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c8ff2e45ed
commit
c0266e71ba
56
utils/bzip2/Makefile
Normal file
56
utils/bzip2/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
#
|
||||
# Copyright (C) 2007 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:=bzip2
|
||||
PKG_VERSION:=1.0.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=fc310b254f6ba5fbb5da018f04533688
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/bzip2
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=
|
||||
TITLE:=bzip2 is a compression utility.
|
||||
URL:=http://www.bzip.org/
|
||||
endef
|
||||
|
||||
define Package/dmidecode/description
|
||||
bzip2 is a freely available, patent free, high-quality \
|
||||
data compressor.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--prefix=/usr \
|
||||
);
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDLAGS)" \
|
||||
bzip2 \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/bzip2/install
|
||||
mkdir -p $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bzip2 $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,bzip2))
|
||||
|
Loading…
x
Reference in New Issue
Block a user