wok-6.x annotate netrik/receipt @ rev 14108

Up: libwekkit-video-dev (1.8.3)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 24 09:19:30 2013 +0100 (2013-02-24)
parents
children 380ffe05937a
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"
al@13649 8 WEB_SITE="http://netrik.sourceforge.net/"
al@13649 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13649 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@13649 11
al@13649 12 DEPENDS="glibc-base ncursesw readline"
al@13649 13 BUILD_DEPENDS="readline-dev ncursesw-dev"
al@13649 14
al@13649 15 # Rules to configure and make the package.
al@13649 16 compile_rules()
al@13649 17 {
al@13649 18 cd $src
al@13649 19
al@13649 20 # fix headers
al@13649 21 for src in colors-bright colors-dark links main pager parse-syntax render screen; do
al@13649 22 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
al@13649 23 done
al@13649 24
al@13649 25 ./configure $CONFIGURE_ARGS && make && make install
al@13649 26 }
al@13649 27
al@13649 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13649 29 genpkg_rules()
al@13649 30 {
al@13649 31 mkdir -p $fs/usr/bin
al@13649 32 cp -a $install/usr/bin $fs/usr
al@13649 33 }