lolcat: add package
authorRui Salvaterra <redacted>
Fri, 25 Jun 2021 08:04:23 +0000 (09:04 +0100)
committerRui Salvaterra <redacted>
Mon, 28 Jun 2021 08:05:19 +0000 (09:05 +0100)
A pure C implementation of lolcat, probably the lightest out there.

Signed-off-by: Rui Salvaterra <redacted>
utils/lolcat/Makefile [new file with mode: 0644]

diff --git a/utils/lolcat/Makefile b/utils/lolcat/Makefile
new file mode 100644 (file)
index 0000000..644bd25
--- /dev/null
@@ -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))
git clone https://git.99rst.org/PROJECT