wok view netrik/receipt @ rev 23973

Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 12:04:50 2020 +0000 (2020-10-28)
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 }