Makefile (1983B)
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 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=moreutils 11 PKG_VERSION:=0.60 12 PKG_RELEASE:=1 13 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 17 18 PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com> 19 PKG_LICENSE:=GPL-2.0 20 PKG_LICENSE_FILES:=COPYING 21 22 PKG_INSTALL:=1 23 24 include $(INCLUDE_DIR)/package.mk 25 26 define Package/moreutils 27 SECTION:=utils 28 CATEGORY:=Utilities 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 32 endef 33 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. 37 . 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 54 endef 55 56 define Package/moreutils/install 57 $(INSTALL_DIR) $(1)/usr/bin 58 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ 59 endef 60 61 $(eval $(call BuildPackage,moreutils))