You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.9 KiB

  1. #
  2. # Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=moreutils
  9. PKG_VERSION:=0.60
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.xz
  12. PKG_SOURCE_URL:=http://http.debian.net/debian/pool/main/m/moreutils/
  13. PKG_HASH:=e42d18bacbd2d003779a55fb3542befa5d1d217ee37c1874e8c497581ebc17c5
  14. PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/moreutils
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=additional Unix utilities
  23. URL:=https://joeyh.name/code/moreutils/
  24. DEPENDS:=+perl +perlbase-file +perlbase-getopt +perlbase-io +perlbase-ipc +perlbase-posix
  25. endef
  26. define Package/moreutils/description
  27. This is a growing collection of the Unix tools that nobody thought
  28. to write long ago, when Unix was young.
  29. .
  30. So far, it includes the following utilities:
  31. - chronic: runs a command quietly unless it fails
  32. - combine: combine the lines in two files using boolean operations
  33. - errno: look up errno names and descriptions
  34. - ifdata: get network interface info without parsing ifconfig output
  35. - ifne: run a program if the standard input is not empty
  36. - isutf8: check if a file or standard input is utf-8
  37. - lckdo: execute a program with a lock held
  38. - mispipe: pipe two commands, returning the exit status of the first
  39. - parallel: run multiple jobs at once
  40. - pee: tee standard input to pipes
  41. - sponge: soak up standard input and write to a file
  42. - ts: timestamp standard input
  43. - vidir: edit a directory in your text editor
  44. - vipe: insert a text editor into a pipe
  45. - zrun: automatically uncompress arguments to command
  46. endef
  47. define Package/moreutils/install
  48. $(INSTALL_DIR) $(1)/usr/bin
  49. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  50. endef
  51. $(eval $(call BuildPackage,moreutils))