wok rev 21803
created recipe for nnn 2.6
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 10 20:59:16 2019 +0100 (2019-08-10) |
parents | 2ca609c01117 |
children | d9392a530592 |
files | nnn/description.txt nnn/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nnn/description.txt Sat Aug 10 20:59:16 2019 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +nnn is a full-featured file manager for low-end devices and the regular desktop. 1.5 +It's extremely light and fast (performance). 1.6 + 1.7 +nnn is also a disk usage analyzer, a fuzzy app launcher, a batch file renamer and 1.8 +a file picker. Many plugins are available to extend its power. 1.9 +Custom plugins are easy to add. 1.10 +There's an independent (neo)vim picker plugin project. 1.11 + 1.12 +It runs on Linux, macOS, Raspberry Pi, BSD, Cygwin, Linux subsystem for Windows and 1.13 +Termux on Android. nnn works seamlessly with DEs and GUI utilities. It's nearly 1.14 +zero-config (with sensible defaults) and can be setup in less than 5 minutes. 1.15 + 1.16 +Visit the wiki for more information on configuration, operational notes and tips.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/nnn/receipt Sat Aug 10 20:59:16 2019 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="nnn" 2.7 +VERSION="2.6" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="The missing terminal file manager for X." 2.10 +MAINTAINER="developer@slitaz.org" 2.11 +LICENSE="BSD-2" 2.12 +WEB_SITE="https://github.com/jarun/nnn/" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" 2.16 + 2.17 +DEPENDS="libtinfo ncursesw readline" 2.18 +BUILD_DEPENDS="libtinfo ncursesw-dev readline-dev" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + # pkg-config does not work properly 2.24 + sed -i '21iLDLIBS_CURSES=-lncursesw' Makefile 2.25 + 2.26 + make CFLAGS_OPTIMIZATION=-O2 PREFIX=/usr && 2.27 + make PREFIX=/usr install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + cp -a $install/usr $fs 2.34 +}