wok view netrik/receipt @ rev 14569
Up xorg-libXp (1.0.2), xorg-libXinerama (1.1.3), xorg-libXi (1.7.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 24 12:05:11 2013 +0200 (2013-05-24) |
parents | |
children | 380ffe05937a |
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 WEB_SITE="http://netrik.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="glibc-base ncursesw readline"
13 BUILD_DEPENDS="readline-dev ncursesw-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # fix headers
21 for src in colors-bright colors-dark links main pager parse-syntax render screen; do
22 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
23 done
25 ./configure $CONFIGURE_ARGS && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $install/usr/bin $fs/usr
33 }