wok-next view netrik/receipt @ rev 19990

lighttpd: add missing SPLIT
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 20 08:05:51 2017 +0200 (2017-10-20)
parents 380ffe05937a
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="netrik"
4 VERSION="1.16.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user interface"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://netrik.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base ncurses readline"
14 BUILD_DEPENDS="readline-dev ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # fix headers
20 for src in colors-bright colors-dark links main pager parse-syntax render screen; do
21 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
22 done
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin $fs/usr
32 }