wok view netrik/receipt @ rev 23440
linux-zram: autostart
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 12:22:43 2020 +0200 (2020-04-02) |
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 }