summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/sl/Config.in9
-rw-r--r--package/sl/sl.mk21
3 files changed, 31 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 4dd3ff296d..ee4d476bd4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -184,6 +184,7 @@ menu "Games"
source "package/opentyrian-data/Config.in"
source "package/prboom/Config.in"
source "package/rubix/Config.in"
+ source "package/sl/Config.in"
endmenu
menu "Fonts, icons, sounds and themes"
diff --git a/package/sl/Config.in b/package/sl/Config.in
new file mode 100644
index 0000000000..7abe705673
--- /dev/null
+++ b/package/sl/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_SL
+ bool "sl"
+ select BR2_PACKAGE_NCURSES
+ help
+ SL (Steam Locomotive) runs across your terminal when you
+ type "sl" as you meant to type "ls". It's just a joke
+ command, and not useful at all.
+
+ https://github.com/mtoyoda/sl
diff --git a/package/sl/sl.mk b/package/sl/sl.mk
new file mode 100644
index 0000000000..bb28b2a49b
--- /dev/null
+++ b/package/sl/sl.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# sl
+#
+################################################################################
+
+SL_VERSION = 5.02
+SL_SITE = $(call github,mtoyoda,sl,$(SL_VERSION))
+SL_LICENSE = Custom
+SL_LICENSE_FILES = LICENSE
+SL_DEPENDENCIES = ncurses
+
+define SL_BUILD_CMDS
+ $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
+endef
+
+define SL_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/sl $(TARGET_DIR)/usr/bin/sl
+endef
+
+$(eval $(generic-package))
OpenPOWER on IntegriCloud