wok annotate nnn/receipt @ rev 24030

updated get-teamviewer (1.00 -> 1.01)
author Hans-G?nter Theisgen
date Mon Apr 05 10:50:45 2021 +0100 (2021-04-05)
parents e060c533a38e
children fa5c28d5efb7
rev   line source
Hans-G?nter@21803 1 # SliTaz package receipt.
Hans-G?nter@21803 2
Hans-G?nter@21803 3 PACKAGE="nnn"
Hans-G?nter@23916 4 VERSION="3.4"
Hans-G?nter@21803 5 CATEGORY="system-tools"
Hans-G?nter@21803 6 SHORT_DESC="The missing terminal file manager for X."
Hans-G?nter@21803 7 MAINTAINER="developer@slitaz.org"
Hans-G?nter@21803 8 LICENSE="BSD-2"
Hans-G?nter@21803 9 WEB_SITE="https://github.com/jarun/nnn/"
Hans-G?nter@21803 10
Hans-G?nter@21803 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21803 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
Hans-G?nter@21803 13
Hans-G?nter@21803 14 DEPENDS="libtinfo ncursesw readline"
Hans-G?nter@21803 15 BUILD_DEPENDS="libtinfo ncursesw-dev readline-dev"
Hans-G?nter@21803 16
Hans-G?nter@21803 17 # Rules to configure and make the package.
Hans-G?nter@21803 18 compile_rules()
Hans-G?nter@21803 19 {
Hans-G?nter@21803 20 # pkg-config does not work properly
pascal@22397 21 sed -i 's|\$(LDLIBS_CURSES)|-lncursesw -ltinfo -lrt|' Makefile
Hans-G?nter@21803 22
Hans-G?nter@23900 23 # -std=c11 invalid
Hans-G?nter@23900 24 sed -i 's|-std=c11|-std=c1x|' Makefile
Hans-G?nter@23900 25
Hans-G?nter@21803 26 make CFLAGS_OPTIMIZATION=-O2 PREFIX=/usr &&
Hans-G?nter@21803 27 make PREFIX=/usr install
Hans-G?nter@21803 28 }
Hans-G?nter@21803 29
Hans-G?nter@21803 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@21803 31 genpkg_rules()
Hans-G?nter@21803 32 {
Hans-G?nter@23900 33 cp -a $install/usr $fs
Hans-G?nter@21803 34 }