Commit 5c4aa316 authored by Jens Rosenboom's avatar Jens Rosenboom Committed by Thomas Petazzoni
Browse files

sl: new package



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.

[Thomas:
 - Change "depends on BR2_PACKAGE_NCURSES" to "select
   BR2_PACKAGE_NCURSES".
 - Rewrap Config.in help text.
 - Remove comment in help text about the need to check dependencies,
   there's nothing to be done really.
 - Change the license from "Unclear" to "Custom".
 - Use $(TARGET_CONFIGURE_OPTS instead of passing CC and CFLAGS
   explicitly.
 - Pass '-m 0755' when doing the $(INSTALL)
 - Add ncurses to SL_DEPENDENCIES.]

Signed-off-by: default avatarJens Rosenboom <j.rosenboom@x-ion.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent ea6b7bd5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"

package/sl/Config.in

0 → 100644
+9 −0
Original line number Diff line number Diff line
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

package/sl/sl.mk

0 → 100644
+21 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))