mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-27 09:02:33 +00:00
bzip2: add symlink to binary
Other distributions incl. the OpenWrt ImageBuilder and SDK expect to find the bzip2 executable in /bin. Create a symlink at that location for compatibility. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
a0bb6c91fe
commit
eb7c14d512
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=bzip2
|
||||
PKG_VERSION:=1.0.6
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)
|
||||
@ -82,6 +82,8 @@ endef
|
||||
define Package/bzip2/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bzip2-shared $(1)/usr/bin/bzip2
|
||||
$(INSTALL_DIR) $(1)/bin/
|
||||
$(LN) ../usr/bin/bzip2 $(1)/bin/bzip2
|
||||
endef
|
||||
|
||||
HOST_CFLAGS += \
|
||||
|
Loading…
Reference in New Issue
Block a user