wok rev 890

clex + retawq config in /etc/skel
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 09 20:42:09 2008 +0200 (2008-06-09)
parents dad0d2002ac1
children dbe940399912
files clex/receipt clex/stuff/skel/.clexbm clex/stuff/skel/.clexrc retawq/receipt retawq/stuff/skel/.retawq/bookmarks.html retawq/stuff/skel/.retawq/config
line diff
     1.1 --- a/clex/receipt	Mon Jun 09 10:23:31 2008 +0200
     1.2 +++ b/clex/receipt	Mon Jun 09 20:42:09 2008 +0200
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Text mode file manager."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  DEPENDS="ncurses"
     1.7 +BUILD_DEPENDS="ncurses-dev"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.clex.sk/"
    1.10  WGET_URL="http://www.clex.sk/download/$TARBALL"
    1.11 @@ -13,17 +14,20 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -    cd $src
    1.16 -    ./configure --prefix=/usr --infodir=/usr/share/info \
    1.17 -    --mandir=/usr/share/man $CONFIGURE_ARGS
    1.18 -    make
    1.19 -    make DESTDIR=$PWD/_pkg install
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS
    1.26 +	make
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -    mkdir -p $fs/usr/bin
    1.34 +    mkdir -p $fs/etc $fs/usr/bin
    1.35      cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.36 -    strip -s $fs/usr/bin/*
    1.37 +    cp -a stuff/skel $fs/etc
    1.38  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/clex/stuff/skel/.clexbm	Mon Jun 09 20:42:09 2008 +0200
     2.3 @@ -0,0 +1,6 @@
     2.4 +#
     2.5 +# CLEX bookmark file
     2.6 +#
     2.7 +/mnt
     2.8 +/media
     2.9 +/usr/share/doc
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/clex/stuff/skel/.clexrc	Mon Jun 09 20:42:09 2008 +0200
     3.3 @@ -0,0 +1,5 @@
     3.4 +#
     3.5 +# CLEX configuration file
     3.6 +#
     3.7 +CMD_F4=nano $f
     3.8 +CMD_F9=retawq $f
     4.1 --- a/retawq/receipt	Mon Jun 09 10:23:31 2008 +0200
     4.2 +++ b/retawq/receipt	Mon Jun 09 20:42:09 2008 +0200
     4.3 @@ -6,6 +6,7 @@
     4.4  SHORT_DESC="Text mode Web browser."
     4.5  MAINTAINER="pankso@slitaz.org"
     4.6  DEPENDS="ncurses"
     4.7 +BUILD_DEPENDS="ncurses-dev"
     4.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.9  WEB_SITE="http://retawq.sourceforge.net/"
    4.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.11 @@ -13,17 +14,23 @@
    4.12  # Rules to configure and make the package.
    4.13  compile_rules()
    4.14  {
    4.15 -    cd $src
    4.16 -    ./configure --enable-i18n --enable-local-cgi --path-prefix=/usr \
    4.17 -    --path-doc=/usr/share/doc/retawq --path-man=/usr/share/man
    4.18 -    make
    4.19 +	cd $src
    4.20 +	./configure \
    4.21 +		--enable-i18n \
    4.22 +		--enable-local-cgi \
    4.23 +		--path-prefix=/usr \
    4.24 +		--path-doc=/usr/share/doc/retawq \
    4.25 +		--path-man=/usr/share/man
    4.26 +	make
    4.27  }
    4.28  
    4.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.30  genpkg_rules()
    4.31  {
    4.32 -    mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES
    4.33 -    cp -a $src/retawq $fs/usr/bin
    4.34 -    cp -a $src/i18n/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/retawq.mo
    4.35 -    strip -s $fs/usr/bin/*
    4.36 +	mkdir -p \
    4.37 +		$fs/etc $fs/usr/bin \
    4.38 +		$fs/usr/share/locale/fr/LC_MESSAGES
    4.39 +	cp -a $src/retawq $fs/usr/bin
    4.40 +	cp -a $src/i18n/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/retawq.mo
    4.41 +	cp -a stuff/skel $fs/etc
    4.42  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/retawq/stuff/skel/.retawq/bookmarks.html	Mon Jun 09 20:42:09 2008 +0200
     5.3 @@ -0,0 +1,26 @@
     5.4 +<html>
     5.5 +<head>
     5.6 +	<title>SliTaz Retawq - Bookmarks</title>
     5.7 +</head>
     5.8 +<body>
     5.9 +
    5.10 +<h1>Bookmarks the web!</h1>
    5.11 +<hr />
    5.12 +
    5.13 +<ul>
    5.14 +	<li><a href="http://localhost/">http://localhost/</a></li>
    5.15 +	<li><a href="http://localhost/~hacker/">http://localhost/~hacker/</a></li>
    5.16 +	<li><a href="http://localhost/doc/">http://localhost/doc/</a></li>
    5.17 +	<li><a href="http://www.slitaz.org/">www.slitaz.org</a></li>
    5.18 +	<li><a href="http://www.libordux.org/">www.libordux.org</a></li>
    5.19 +	<li><a href="http://www.tuxfamily.org/">www.tuxfamily.org</a></li>  
    5.20 +	<li><a href="http://freshmeat.net/">freshmeat.net</a></li>
    5.21 +	<li><a href="http://www.gnu.org/">www.gnu.org</a></li>
    5.22 +	<li><a href="http://www.kernel.org/">www.kernel.org</a></li>
    5.23 +	<li><a href="http://www.busybox.net/">www.busybox.net</a></li>
    5.24 +	<li><a href="http://www.lighttpd.net/">www.lighttpd.net</a></li>
    5.25 +	<li><a href="http://www.google.com/">www.google.com</a></li>
    5.26 +</ul>
    5.27 +
    5.28 +</body>
    5.29 +</html>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/retawq/stuff/skel/.retawq/config	Mon Jun 09 20:42:09 2008 +0200
     6.3 @@ -0,0 +1,33 @@
     6.4 +# This is a run-time configuration for the web browser
     6.5 +# retawq (<http://retawq.sourceforge.net/>).
     6.6 +# This file is part of SliTaz GNU/Linux
     6.7 +# (http://www.slitaz.org/).
     6.8 +
     6.9 +# A bookmarks document; we use a local file:
    6.10 +bookmarks local:~/.retawq/bookmarks.html
    6.11 +
    6.12 +# Set colors, if you want black-on-white colors,
    6.13 +# use colors reverse:
    6.14 +colors on
    6.15 +
    6.16 +# Our home page, you can set this value to off:
    6.17 +home http://www.slitaz.org/
    6.18 +
    6.19 +# Our favorite search engine.
    6.20 +search-engine http://www.google.com/
    6.21 +
    6.22 +# When downloading something from an HTTP server, we prefer the French
    6.23 +# language, but would also accept English.
    6.24 +languages fr,en
    6.25 +
    6.26 +# Allow any ("*") CGI scripts in /var/www directory.
    6.27 +local-cgi
    6.28 + allow /var/www/cgi-bin/*
    6.29 + allow /home/hacker/Public/cgi-bin/*
    6.30 +
    6.31 +# Maximum number of automatic redirections; we need to access a completely
    6.32 +# screwed server which requires more than 10 redirections.
    6.33 +redirections 15
    6.34 +
    6.35 +# Tell HTTP servers about our operating system.
    6.36 +user-agent 1