wok-6.x view nnn/receipt @ rev 24078
gst-plugins-bad, gst-plugins-good, gst-plugins-base-1.0: typo (!)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 16:53:11 2021 +0000 (2021-07-08) |
parents | e060c533a38e |
children | fa5c28d5efb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nnn"
4 VERSION="3.4"
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 's|\$(LDLIBS_CURSES)|-lncursesw -ltinfo -lrt|' Makefile
23 # -std=c11 invalid
24 sed -i 's|-std=c11|-std=c1x|' Makefile
26 make CFLAGS_OPTIMIZATION=-O2 PREFIX=/usr &&
27 make PREFIX=/usr install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }