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