diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-06-29 14:45:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 14:45:47 -0700 |
commit | ea8083639d055c0d7abc8b1ab6c00e148fdc4f7e (patch) | |
tree | 6c9fcf975be7447a308e7eb6126cc8dd59c989dc | |
parent | c61eb3ed98de709454cd42af48c7557f009d9586 (diff) | |
parent | d2582939ad63b3646ce26db737867538e8f7f9eb (diff) |
Merge pull request #15950 from rsalvaterra/lolcat
lolcat: add package
-rw-r--r-- | utils/lolcat/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/utils/lolcat/Makefile b/utils/lolcat/Makefile new file mode 100644 index 000000000..644bd25f8 --- /dev/null +++ b/utils/lolcat/Makefile @@ -0,0 +1,29 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=lolcat +PKG_VERSION:=1.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/jaseg/lolcat/tar.gz/refs/tags/v$(PKG_VERSION)? +PKG_HASH:=b6e1a0e24479fbdd4eb907531339e2cafc0c00b78d19caf70e8377b8b7546331 + +PKG_MAINTAINER:=Rui Salvaterra <rsalvaterra@gmail.com> +PKG_LICENSE:=WTFPL +PKG_LICENSE_FILES:=LICENSE + +include $(INCLUDE_DIR)/package.mk + +define Package/lolcat + SECTION:=utils + CATEGORY:=Utilities + TITLE:=A cat variant with rainbow colour output + URL:=https://github.com/jaseg/lolcat +endef + +define Package/lolcat/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/lolcat $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,lolcat)) |