wok-6.x view netrik/receipt @ rev 13799

Up: xf86-video-intel (2.20.17)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 06 04:31:04 2013 +0300 (2013-01-06)
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 }