wok-next diff netrik/receipt @ rev 20796

Add descriptions to the GNOME games
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 10 16:17:43 2018 +0300 (2018-06-10)
parents 6c12ac1293fc
children d5aab818505e
line diff
     1.1 --- a/netrik/receipt	Mon Oct 16 13:38:21 2017 +0200
     1.2 +++ b/netrik/receipt	Sun Jun 10 16:17:43 2018 +0300
     1.3 @@ -1,21 +1,20 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="netrik"
     1.8  VERSION="1.16.1"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user interface"
    1.11 +SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user \
    1.12 +interface"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://netrik.sourceforge.net/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="glibc-base ncurses readline"
    1.21  BUILD_DEPENDS="readline-dev ncurses-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	# fix headers
    1.28  	for src in colors-bright colors-dark links main pager parse-syntax render screen; do
    1.29  		sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
    1.30 @@ -24,9 +23,7 @@
    1.31  	./configure $CONFIGURE_ARGS && make && make install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr/bin
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="glibc-base ncurses readline"
    1.42  }