wok view netrik/receipt @ rev 14509
get-src2pkg: fix pkg name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:41:25 2013 +0200 (2013-05-14) |
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 }