wok-4.x rev 19

Add : m4, nano, ncurses-dev
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:38:57 2007 +0100 (2007-12-18)
parents 8d79fbb0f566
children dc2dd4d7fffb
files m4/receipt nano/receipt nano/stuff/nano.png nano/stuff/nanorc ncurses-dev/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/m4/receipt	Tue Dec 18 13:38:57 2007 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="m4"
     1.7 +VERSION="1.4.10"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="GNU traditional Unix macro processor."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +WANTED=""
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.gnu.org/software/m4/"
    1.15 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.23 +	make
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	strip -s $fs/usr/bin/*
    1.33 +}
    1.34 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/nano/receipt	Tue Dec 18 13:38:57 2007 +0100
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="nano"
     2.7 +VERSION="2.0.6"
     2.8 +CATEGORY="base-apps"
     2.9 +SHORT_DESC="GNU Nano Text Editor."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="ncurses"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.nano-editor.org/"
    2.14 +WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +    cd $src
    2.20 +    ./configure --enable-all --enable-extra --prefix=/usr \
    2.21 +    --infodir=/usr/share/info --mandir=/usr/share/man \
    2.22 +    --sysconfdir=/etc $CONFIGURE_ARGS
    2.23 +    make
    2.24 +    make DESTDIR=$PWD/_pkg install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/share/locale/fr $fs/etc $fs/usr/share/pixmaps
    2.31 +    cp -a $_pkg/usr/bin $fs/usr
    2.32 +    cp -a $_pkg/usr/share/nano $fs/usr/share
    2.33 +    strip -s $fs/usr/bin/*
    2.34 +    cp -a $_pkg/usr/share/locale/fr/LC_MESSAGES $fs/usr/share/locale/fr
    2.35 +    # Config file.
    2.36 +    cp stuff/nanorc $fs/etc
    2.37 +    # Pixmap.
    2.38 +    cp stuff/nano.png $fs/usr/share/pixmaps
    2.39 +}
     3.1 Binary file nano/stuff/nano.png has changed
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/nano/stuff/nanorc	Tue Dec 18 13:38:57 2007 +0100
     4.3 @@ -0,0 +1,273 @@
     4.4 +## /etc/nanorc: system-wide initialization file for GNU nano
     4.5 +## Well know text editor on SliTaz GNU/linux. ~/.nanorc for 
     4.6 +## personal config file.
     4.7 +##
     4.8 +## To make sure a value is not enabled, use "unset <option>"
     4.9 +##
    4.10 +## For the options that take parameters, the default value is given.
    4.11 +## Other options are unset by default.
    4.12 +##
    4.13 +## Quotes inside string parameters don't have to be escaped with
    4.14 +## backslashes.  The last double quote in the string will be treated as
    4.15 +## its end.  For example, for the "brackets" option, ""')>]}" will match
    4.16 +## ", ', ), >, ], and }.
    4.17 +
    4.18 +## Use auto-indentation.
    4.19 +# set autoindent
    4.20 +
    4.21 +## Backup files to filename~.
    4.22 +# set backup
    4.23 +
    4.24 +## The directory to put unique backup files in.
    4.25 +# set backupdir ""
    4.26 +
    4.27 +## Do backwards searches by default.
    4.28 +# set backwards
    4.29 +
    4.30 +## Use bold text instead of reverse video text.
    4.31 +# set boldtext
    4.32 +
    4.33 +## The characters treated as closing brackets when justifying
    4.34 +## paragraphs.  They cannot contain blank characters.  Only closing
    4.35 +## punctuation, optionally followed by closing brackets, can end
    4.36 +## sentences.
    4.37 +##
    4.38 +# set brackets ""')>]}"
    4.39 +
    4.40 +## Do case sensitive searches by default.
    4.41 +# set casesensitive
    4.42 +
    4.43 +## Constantly display the cursor position in the statusbar.  Note that
    4.44 +## this overrides "quickblank".
    4.45 +# set const
    4.46 +
    4.47 +## Use cut to end of line by default.
    4.48 +# set cut
    4.49 +
    4.50 +## Set the line length for wrapping text and justifying paragraphs.
    4.51 +## If fill is 0 or less, the line length will be the screen width less
    4.52 +## this number.
    4.53 +##
    4.54 +# set fill -8
    4.55 +
    4.56 +## Enable ~/.nano_history for saving and reading search/replace strings.
    4.57 +set historylog
    4.58 +
    4.59 +## The opening and closing brackets that can be found by bracket
    4.60 +## searches.  They cannot contain blank characters.  The former set must
    4.61 +## come before the latter set, and both must be in the same order.
    4.62 +##
    4.63 +# set matchbrackets "(<[{)>]}"
    4.64 +
    4.65 +## Use the blank line below the titlebar as extra editing space.
    4.66 +# set morespace
    4.67 +
    4.68 +## Enable mouse support, if available for your system.  When enabled,
    4.69 +## mouse clicks can be used to place the cursor, set the mark (with a
    4.70 +## double click), and execute shortcuts.  The mouse will work in the X
    4.71 +## Window System, and on the console when gpm is running.
    4.72 +##
    4.73 +set mouse
    4.74 +
    4.75 +## Allow multiple file buffers (inserting a file will put it into a
    4.76 +## separate buffer).  You must have configured with --enable-multibuffer
    4.77 +## for this to work.
    4.78 +##
    4.79 +# set multibuffer
    4.80 +
    4.81 +## Don't convert files from DOS/Mac format.
    4.82 +# set noconvert
    4.83 +
    4.84 +## Don't follow symlinks when writing files.
    4.85 +# set nofollow
    4.86 +
    4.87 +## Don't display the helpful shortcut lists at the bottom of the screen.
    4.88 +# set nohelp
    4.89 +
    4.90 +## Don't add newlines to the ends of files.
    4.91 +# set nonewlines
    4.92 +
    4.93 +## Don't wrap text at all.
    4.94 +# set nowrap
    4.95 +
    4.96 +## Set operating directory.  nano will not read or write files outside
    4.97 +## this directory and its subdirectories.  Also, the current directory
    4.98 +## is changed to here, so any files are inserted from this dir.  A blank
    4.99 +## string means the operating directory feature is turned off.
   4.100 +##
   4.101 +# set operatingdir ""
   4.102 +
   4.103 +## Preserve the XON and XOFF keys (^Q and ^S).
   4.104 +# set preserve
   4.105 +
   4.106 +## The characters treated as closing punctuation when justifying
   4.107 +## paragraphs.  They cannot contain blank characters.  Only closing
   4.108 +## punctuation, optionally followed by closing brackets, can end
   4.109 +## sentences.
   4.110 +##
   4.111 +# set punct "!.?"
   4.112 +
   4.113 +## Do quick statusbar blanking.  Statusbar messages will disappear after
   4.114 +## 1 keystroke instead of 26.  Note that "const" overrides this.
   4.115 +##
   4.116 +# set quickblank
   4.117 +
   4.118 +## The email-quote string, used to justify email-quoted paragraphs.
   4.119 +## This is an extended regular expression if your system supports them,
   4.120 +## otherwise a literal string.  Default:
   4.121 +# set quotestr "^([ 	]*[#:>\|}])+"
   4.122 +## if you have extended regular expression support, otherwise:
   4.123 +# set quotestr "> "
   4.124 +
   4.125 +## Fix Backspace/Delete confusion problem.
   4.126 +# set rebinddelete
   4.127 +
   4.128 +## Fix numeric keypad key confusion problem.
   4.129 +# set rebindkeypad
   4.130 +
   4.131 +## Do extended regular expression searches by default.
   4.132 +# set regexp
   4.133 +
   4.134 +## Make the Home key smarter.  When Home is pressed anywhere but at the
   4.135 +## very beginning of non-whitespace characters on a line, the cursor
   4.136 +## will jump to that beginning (either forwards or backwards).  If the
   4.137 +## cursor is already at that position, it will jump to the true
   4.138 +## beginning of the line.
   4.139 +# set smarthome
   4.140 +
   4.141 +## Use smooth scrolling as the default.
   4.142 +# set smooth
   4.143 +
   4.144 +## Use this spelling checker instead of the internal one.  This option
   4.145 +## does not properly have a default value.
   4.146 +##
   4.147 +# set speller "aspell -x -c"
   4.148 +
   4.149 +## Allow nano to be suspended.
   4.150 +# set suspend
   4.151 +
   4.152 +## Use this tab size instead of the default; it must be greater than 0.
   4.153 +# set tabsize 8
   4.154 +
   4.155 +## Convert typed tabs to spaces.
   4.156 +# set tabstospaces
   4.157 +
   4.158 +## Save automatically on exit, don't prompt.
   4.159 +# set tempfile
   4.160 +
   4.161 +## Disallow file modification.  Why would you want this in an rcfile? ;)
   4.162 +# set view
   4.163 +
   4.164 +## The two single-column characters used to display the first characters
   4.165 +## of tabs and spaces.  187 in ISO 8859-1 (0000BB in Unicode) and 183 in
   4.166 +## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
   4.167 +# set whitespace "  "
   4.168 +
   4.169 +## Detect word boundaries more accurately by treating punctuation
   4.170 +## characters as parts of words.
   4.171 +# set wordbounds
   4.172 +
   4.173 +
   4.174 +## Color setup
   4.175 +##
   4.176 +## Format:
   4.177 +##
   4.178 +## syntax "short description" ["filename regex" ...]
   4.179 +##
   4.180 +## The "none" syntax is reserved; specifying it on the command line is
   4.181 +## the same as not having a syntax at all.  The "default" syntax is
   4.182 +## special: it takes no filename regexes, and applies to files that
   4.183 +## don't match any other syntax's filename regexes.
   4.184 +##
   4.185 +## color foreground,background "regex" ["regex"...]
   4.186 +## or
   4.187 +## icolor foreground,background "regex" ["regex"...]
   4.188 +##
   4.189 +## "color" will do case sensitive matches, while "icolor" will do case
   4.190 +## insensitive matches.
   4.191 +##
   4.192 +## Valid colors: white, black, red, blue, green, yellow, magenta, cyan.
   4.193 +## For foreground colors, you may use the prefix "bright" to get a
   4.194 +## stronger highlight.
   4.195 +##
   4.196 +## To use multi-line regexes, use the start="regex" end="regex"
   4.197 +## [start="regex" end="regex"...] format.
   4.198 +##
   4.199 +## If your system supports transparency, not specifying a background
   4.200 +## color will use a transparent color.  If you don't want this, be sure
   4.201 +## to set the background color to black or white.
   4.202 +##
   4.203 +## If you wish, you may put your syntaxes in separate files.  You can
   4.204 +## make use of such files (which can only include "syntax", "color", and
   4.205 +## "icolor" commands) as follows:
   4.206 +##
   4.207 +## include "/path/to/syntax_file.nanorc"
   4.208 +##
   4.209 +## Unless otherwise noted, the name of the syntax file (without the
   4.210 +## ".nanorc" extension) should be the same as the "short description"
   4.211 +## name inside that file.  These names are kept fairly short to make
   4.212 +## them easier to remember and faster to type using nano's -Y option.
   4.213 +##
   4.214 +## All regexes should be extended regular expressions.
   4.215 +
   4.216 +
   4.217 +## Nanorc files
   4.218 +include "/usr/share/nano/nanorc.nanorc"
   4.219 +
   4.220 +## C/C++
   4.221 +include "/usr/share/nano/c.nanorc"
   4.222 +
   4.223 +## Config file - By SliTaz
   4.224 +syntax "conf" "\.?conf$"
   4.225 +## Keywords
   4.226 +icolor brightgreen "="
   4.227 +## Comments
   4.228 +icolor cyan "^[[:space:]]*#.*$"
   4.229 +
   4.230 +## HTML - With modification for SliTaz.
   4.231 +#include "/usr/share/nano/html.nanorc"
   4.232 +syntax "HTML" "\.html$"
   4.233 +color brightblue start="<" end=">"
   4.234 +color red "&[^; 	]*;"
   4.235 +color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->"  
   4.236 +color brightcyan start="<meta" end=">" start="<link" end=">"
   4.237 +color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>"
   4.238 +color yellow "<ul>|</ul>|<hr>|<hr />"
   4.239 +color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
   4.240 +color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>"
   4.241 +
   4.242 +## TeX
   4.243 +include "/usr/share/nano/tex.nanorc"
   4.244 +
   4.245 +## Quoted emails (under e.g. mutt)
   4.246 +include "/usr/share/nano/mutt.nanorc"
   4.247 +
   4.248 +## Patch files
   4.249 +include "/usr/share/nano/patch.nanorc"
   4.250 +
   4.251 +## Manpages
   4.252 +# include "/usr/share/nano/man.nanorc"
   4.253 +
   4.254 +## Groff
   4.255 +# include "/usr/share/nano/groff.nanorc"
   4.256 +
   4.257 +## Perl
   4.258 +# include "/usr/share/nano/perl.nanorc"
   4.259 +
   4.260 +## Python
   4.261 +# include "/usr/share/nano/python.nanorc"
   4.262 +
   4.263 +## Ruby
   4.264 +# include "/usr/share/nano/ruby.nanorc"
   4.265 +
   4.266 +## Java
   4.267 +# include "/usr/share/nano/java.nanorc"
   4.268 +
   4.269 +## Assembler
   4.270 +# include "/usr/share/nano/asm.nanorc"
   4.271 +
   4.272 +## Bourne shell scripts
   4.273 +include "/usr/share/nano/sh.nanorc"
   4.274 +
   4.275 +## POV-Ray
   4.276 +# include "/usr/share/nano/pov.nanorc"
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/ncurses-dev/receipt	Tue Dec 18 13:38:57 2007 +0100
     5.3 @@ -0,0 +1,19 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="ncurses-dev"
     5.7 +VERSION="5.6"
     5.8 +CATEGORY="devel"
     5.9 +SHORT_DESC="Devel files for the ncurses library."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +WANTED="ncurses"
    5.12 +WEB_SITE="http://invisible-island.net/ncurses/"
    5.13 +
    5.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.15 +genpkg_rules()
    5.16 +{
    5.17 +	mkdir -p $fs/lib $fs/usr/bin
    5.18 +	cp -a $_pkg/lib/*.a $fs/lib
    5.19 +	cp -a $_pkg/usr/include $fs/usr
    5.20 +	cp $_pkg/usr/bin/ncurses5-config $fs/usr/bin
    5.21 +	chmod 755 $fs/usr/bin/*
    5.22 +}