Skip to content

Commit

Permalink
Merge pull request openwrt#4493 from yousong/coreutils-stdbuf
Browse files Browse the repository at this point in the history
coreutils: stdbuf: fix missing libstdbuf.so
  • Loading branch information
jow- authored Jun 19, 2017
2 parents 85b33b9 + 094cf18 commit 1f50e10
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion utils/coreutils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=coreutils
PKG_VERSION:=8.23
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/coreutils
Expand Down Expand Up @@ -43,6 +43,8 @@ DEPENDS_ls = +libacl +libcap
DEPENDS_mv = +libacl
DEPENDS_vdir = +libacl +libcap

FILES_stdbuf := usr/lib/coreutils/libstdbuf.so

define Package/coreutils/Default
SECTION:=utils
CATEGORY:=Utilities
Expand Down Expand Up @@ -105,6 +107,10 @@ define BuildPlugin
define Package/$(1)/install
$(INSTALL_DIR) $$(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $$(1)/usr/bin/
$(foreach f,$(FILES_$(2)),
$(INSTALL_DIR) $$(1)/$(dir $(f))
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/$(f) $$(1)/$(f)
)
endef

$$(eval $$(call BuildPackage,$(1)))
Expand Down

0 comments on commit 1f50e10

Please sign in to comment.