Browse Source

Merge pull request #9563 from neheb/xz3

xz: Remove bash dependency
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
789f2d40be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions
  1. +8
    -5
      utils/xz/Makefile

+ 8
- 5
utils/xz/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xz PKG_NAME:=xz
PKG_VERSION:=5.2.4 PKG_VERSION:=5.2.4
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/lzmautils PKG_SOURCE_URL:=@SF/lzmautils
@ -83,6 +83,9 @@ CONFIGURE_ARGS += \
--disable-werror \ --disable-werror \
--with-pic --with-pic
CONFIGURE_VARS += \
gl_cv_posix_shell=/bin/sh
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) \ $(CP) \
@ -114,7 +117,7 @@ $(eval $(call BuildSubPackage,lzmadec, +liblzma,))
$(eval $(call BuildSubPackage,lzmainfo, +liblzma,)) $(eval $(call BuildSubPackage,lzmainfo, +liblzma,))
$(eval $(call BuildSubPackage,xz, +liblzma, lzcat lzma unlzma unxz xzcat)) $(eval $(call BuildSubPackage,xz, +liblzma, lzcat lzma unlzma unxz xzcat))
$(eval $(call BuildSubPackage,xzdec, +liblzma,)) $(eval $(call BuildSubPackage,xzdec, +liblzma,))
$(eval $(call BuildSubPackage,xzdiff, +bash +xz, lzcmp lzdiff xzcmp))
$(eval $(call BuildSubPackage,xzgrep, +bash +xz, lzegrep lzfgrep lzgrep xzegrep xzfgrep))
$(eval $(call BuildSubPackage,xzless, +bash +xz, lzless))
$(eval $(call BuildSubPackage,xzmore, +bash +xz, lzmore))
$(eval $(call BuildSubPackage,xzdiff, +xz, lzcmp lzdiff xzcmp))
$(eval $(call BuildSubPackage,xzgrep, +xz, lzegrep lzfgrep lzgrep xzegrep xzfgrep))
$(eval $(call BuildSubPackage,xzless, +xz, lzless))
$(eval $(call BuildSubPackage,xzmore, +xz, lzmore))

Loading…
Cancel
Save