mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
util-linux: enable colrm util as package
colrm is already built, package just isn't generated. colrm can be used to remove columns from file/stdin. Use cases vary, personally I needed it because I build openwrt natively - and wolfssl configure script wants either colrm, or cut but busybox's cut isn't accepted. Built: x86_64, latest git Tested: x86_64, latest git Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
This commit is contained in:
parent
8f7be2a2ba
commit
e21b4c9636
@ -174,6 +174,17 @@ define Package/cfdisk/description
|
||||
cfdisk is a curses-based program for partitioning any hard disk drive
|
||||
endef
|
||||
|
||||
define Package/colrm
|
||||
$(call Package/util-linux/Default)
|
||||
TITLE:=colrm removes selected columns from a file
|
||||
DEPENDS:=
|
||||
endef
|
||||
|
||||
define Package/colrm/description
|
||||
colrm removes selected columns from a file. Input is taken from
|
||||
standard input. Output is sent to standard output.
|
||||
endef
|
||||
|
||||
define Package/dmesg
|
||||
$(call Package/util-linux/Default)
|
||||
TITLE:=print or control the kernel ring buffer
|
||||
@ -699,6 +710,11 @@ define Package/cfdisk/install
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
define Package/colrm/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/colrm $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
define Package/dmesg/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
|
||||
@ -898,6 +914,7 @@ $(eval $(call BuildPackage,blkid))
|
||||
$(eval $(call BuildPackage,blockdev))
|
||||
$(eval $(call BuildPackage,cal))
|
||||
$(eval $(call BuildPackage,cfdisk))
|
||||
$(eval $(call BuildPackage,colrm))
|
||||
$(eval $(call BuildPackage,dmesg))
|
||||
$(eval $(call BuildPackage,eject))
|
||||
$(eval $(call BuildPackage,fdisk))
|
||||
|
Loading…
Reference in New Issue
Block a user