wok-next annotate netrik/receipt @ rev 20082

Up clementine
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 25 12:19:39 2017 +0200 (2017-10-25)
parents 380ffe05937a
children d43bf7aae921
rev   line source
al@13649 1 # SliTaz package receipt.
al@13649 2
al@13649 3 PACKAGE="netrik"
al@13649 4 VERSION="1.16.1"
al@13649 5 CATEGORY="utilities"
al@13649 6 SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user interface"
al@13649 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@13649 9 WEB_SITE="http://netrik.sourceforge.net/"
al@13649 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13649 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@13649 12
pascal@19952 13 DEPENDS="glibc-base ncurses readline"
pascal@19952 14 BUILD_DEPENDS="readline-dev ncurses-dev"
al@13649 15
al@13649 16 # Rules to configure and make the package.
al@13649 17 compile_rules()
al@13649 18 {
al@13649 19 # fix headers
al@13649 20 for src in colors-bright colors-dark links main pager parse-syntax render screen; do
al@13649 21 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
al@13649 22 done
al@13649 23
al@13649 24 ./configure $CONFIGURE_ARGS && make && make install
al@13649 25 }
al@13649 26
al@13649 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13649 28 genpkg_rules()
al@13649 29 {
al@13649 30 mkdir -p $fs/usr/bin
al@13649 31 cp -a $install/usr/bin $fs/usr
al@13649 32 }