wok-6.x diff netrik/receipt @ rev 14952

Up: ethumb-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:16:04 2013 +0200 (2013-08-08)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netrik/receipt	Thu Aug 08 19:16:04 2013 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="netrik"
     1.7 +VERSION="1.16.1"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user interface"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://netrik.sourceforge.net/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +DEPENDS="glibc-base ncursesw readline"
    1.16 +BUILD_DEPENDS="readline-dev ncursesw-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +
    1.23 +	# fix headers
    1.24 +	for src in colors-bright colors-dark links main pager parse-syntax render screen; do
    1.25 +		sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
    1.26 +	done
    1.27 +
    1.28 +	./configure $CONFIGURE_ARGS && make && make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/bin
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +}