wok diff nnn/receipt @ rev 21803

created recipe for nnn 2.6
author Hans-G?nter Theisgen
date Sat Aug 10 20:59:16 2019 +0100 (14 months ago)
parents
children 0a375ada0633
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nnn/receipt	Sat Aug 10 20:59:16 2019 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nnn"
     1.7 +VERSION="2.6"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="The missing terminal file manager for X."
    1.10 +MAINTAINER="developer@slitaz.org"
    1.11 +LICENSE="BSD-2"
    1.12 +WEB_SITE="https://github.com/jarun/nnn/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +DEPENDS="libtinfo ncursesw readline"
    1.18 +BUILD_DEPENDS="libtinfo ncursesw-dev readline-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	# pkg-config does not work properly
    1.24 +	sed -i '21iLDLIBS_CURSES=-lncursesw' Makefile
    1.25 +
    1.26 +	make CFLAGS_OPTIMIZATION=-O2 PREFIX=/usr &&
    1.27 +	make PREFIX=/usr install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/usr $fs
    1.34 +}