wok view netrik/receipt @ rev 22971
iwatch: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 29 14:38:10 2020 +0100 (2020-02-29) |
parents | 4af76cfb62c4 |
children | afae00265386 |
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 ncursesw readline"
14 BUILD_DEPENDS="readline-dev ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # fix headers
22 for src in colors-bright colors-dark links main pager parse-syntax render screen; do
23 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
24 done
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $install/usr/bin $fs/usr
34 }