# HG changeset patch # User Hans-G?nter Theisgen # Date 1565467156 -3600 # Node ID c62c21e43b6677bda58a6f687c7782f79ddafbe7 # Parent 2ca609c01117974ef4df7335e0f306cad4be99ca created recipe for nnn 2.6 diff -r 2ca609c01117 -r c62c21e43b66 nnn/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nnn/description.txt Sat Aug 10 20:59:16 2019 +0100 @@ -0,0 +1,13 @@ +nnn is a full-featured file manager for low-end devices and the regular desktop. +It's extremely light and fast (performance). + +nnn is also a disk usage analyzer, a fuzzy app launcher, a batch file renamer and +a file picker. Many plugins are available to extend its power. +Custom plugins are easy to add. +There's an independent (neo)vim picker plugin project. + +It runs on Linux, macOS, Raspberry Pi, BSD, Cygwin, Linux subsystem for Windows and +Termux on Android. nnn works seamlessly with DEs and GUI utilities. It's nearly +zero-config (with sensible defaults) and can be setup in less than 5 minutes. + +Visit the wiki for more information on configuration, operational notes and tips. diff -r 2ca609c01117 -r c62c21e43b66 nnn/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nnn/receipt Sat Aug 10 20:59:16 2019 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="nnn" +VERSION="2.6" +CATEGORY="system-tools" +SHORT_DESC="The missing terminal file manager for X." +MAINTAINER="developer@slitaz.org" +LICENSE="BSD-2" +WEB_SITE="https://github.com/jarun/nnn/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" + +DEPENDS="libtinfo ncursesw readline" +BUILD_DEPENDS="libtinfo ncursesw-dev readline-dev" + +# Rules to configure and make the package. +compile_rules() +{ + # pkg-config does not work properly + sed -i '21iLDLIBS_CURSES=-lncursesw' Makefile + + make CFLAGS_OPTIMIZATION=-O2 PREFIX=/usr && + make PREFIX=/usr install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}