wok-6.x view nnn/receipt @ rev 21975
updated st (0.5 -> 0.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 11 14:31:25 2019 +0100 (2019-10-11) |
parents | c62c21e43b66 |
children | 25c137ccddb2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nnn"
4 VERSION="2.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="The missing terminal file manager for X."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="BSD-2"
9 WEB_SITE="https://github.com/jarun/nnn/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
14 DEPENDS="libtinfo ncursesw readline"
15 BUILD_DEPENDS="libtinfo ncursesw-dev readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # pkg-config does not work properly
21 sed -i '21iLDLIBS_CURSES=-lncursesw' Makefile
23 make CFLAGS_OPTIMIZATION=-O2 PREFIX=/usr &&
24 make PREFIX=/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }