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
).orig.
tar.xz
15 PKG_SOURCE_URL
:=http
://http.debian.net
/debian
/pool
/main
/m
/moreutils
/
16 PKG_HASH
:=e42d18bacbd2d003779a55fb3542befa5d1d217ee37c1874e8c497581ebc17c5
18 PKG_MAINTAINER
:=Nikil Mehta
<nikil.mehta@gmail.com
>
20 PKG_LICENSE_FILES
:=COPYING
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/moreutils
29 TITLE
:=additional Unix utilities
30 URL
:=https
://joeyh.name
/code
/moreutils
/
31 DEPENDS
:=+perl
+perlbase-file
+perlbase-getopt
+perlbase-io
+perlbase-ipc
+perlbase-posix
34 define Package
/moreutils
/description
35 This is a growing collection of the Unix tools that nobody thought
36 to write long ago
, when Unix was young.
38 So far
, it includes the following utilities
:
39 - chronic
: runs a command quietly unless it fails
40 - combine
: combine the lines in two files using boolean operations
41 - errno
: look up errno names and descriptions
42 - ifdata
: get network interface
info without parsing ifconfig output
43 - ifne
: run a program if the standard input is not empty
44 - isutf8
: check if a file or standard input is utf-8
45 - lckdo
: execute a program with a lock held
46 - mispipe
: pipe two commands
, returning the exit status of the first
47 - parallel
: run multiple jobs at once
48 - pee
: tee standard input to pipes
49 - sponge
: soak up standard input and write to a file
50 - ts
: timestamp standard input
51 - vidir
: edit a directory in your text editor
52 - vipe
: insert a text editor into a pipe
53 - zrun
: automatically uncompress arguments to command
56 define Package
/moreutils
/install
57 $(INSTALL_DIR
) $(1)/usr
/bin
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
61 $(eval
$(call BuildPackage
,moreutils
))