# HG changeset patch
# User Christophe Lincoln
# Date 1197981537 -3600
# Node ID 4bd82e9961cb23117a24c28e60e577e9eeab351a
# Parent 8d79fbb0f566c031392b9441442a7af12c2b70f3
Add : m4, nano, ncurses-dev
diff -r 8d79fbb0f566 -r 4bd82e9961cb m4/receipt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/m4/receipt Tue Dec 18 13:38:57 2007 +0100
@@ -0,0 +1,31 @@
+# SliTaz package receipt.
+
+PACKAGE="m4"
+VERSION="1.4.10"
+CATEGORY="extra"
+SHORT_DESC="GNU traditional Unix macro processor."
+MAINTAINER="pankso@slitaz.org"
+DEPENDS=""
+WANTED=""
+TARBALL="$PACKAGE-$VERSION.tar.gz"
+WEB_SITE="http://www.gnu.org/software/m4/"
+WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+ cd $src
+ ./configure --prefix=/usr --infodir=/usr/share/info \
+ --mandir=/usr/share/man $CONFIGURE_ARGS
+ make
+ make DESTDIR=$PWD/_pkg install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+ mkdir -p $fs/usr
+ cp -a $_pkg/usr/bin $fs/usr
+ strip -s $fs/usr/bin/*
+}
+
diff -r 8d79fbb0f566 -r 4bd82e9961cb nano/receipt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nano/receipt Tue Dec 18 13:38:57 2007 +0100
@@ -0,0 +1,36 @@
+# SliTaz package receipt.
+
+PACKAGE="nano"
+VERSION="2.0.6"
+CATEGORY="base-apps"
+SHORT_DESC="GNU Nano Text Editor."
+MAINTAINER="pankso@slitaz.org"
+DEPENDS="ncurses"
+TARBALL="$PACKAGE-$VERSION.tar.gz"
+WEB_SITE="http://www.nano-editor.org/"
+WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+ cd $src
+ ./configure --enable-all --enable-extra --prefix=/usr \
+ --infodir=/usr/share/info --mandir=/usr/share/man \
+ --sysconfdir=/etc $CONFIGURE_ARGS
+ make
+ make DESTDIR=$PWD/_pkg install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+ mkdir -p $fs/usr/share/locale/fr $fs/etc $fs/usr/share/pixmaps
+ cp -a $_pkg/usr/bin $fs/usr
+ cp -a $_pkg/usr/share/nano $fs/usr/share
+ strip -s $fs/usr/bin/*
+ cp -a $_pkg/usr/share/locale/fr/LC_MESSAGES $fs/usr/share/locale/fr
+ # Config file.
+ cp stuff/nanorc $fs/etc
+ # Pixmap.
+ cp stuff/nano.png $fs/usr/share/pixmaps
+}
diff -r 8d79fbb0f566 -r 4bd82e9961cb nano/stuff/nano.png
Binary file nano/stuff/nano.png has changed
diff -r 8d79fbb0f566 -r 4bd82e9961cb nano/stuff/nanorc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nano/stuff/nanorc Tue Dec 18 13:38:57 2007 +0100
@@ -0,0 +1,273 @@
+## /etc/nanorc: system-wide initialization file for GNU nano
+## Well know text editor on SliTaz GNU/linux. ~/.nanorc for
+## personal config file.
+##
+## To make sure a value is not enabled, use "unset
||
||"
+color yellow "|
|
"
+color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
+color brightgreen "|
||
||
||
||
||
"
+
+## TeX
+include "/usr/share/nano/tex.nanorc"
+
+## Quoted emails (under e.g. mutt)
+include "/usr/share/nano/mutt.nanorc"
+
+## Patch files
+include "/usr/share/nano/patch.nanorc"
+
+## Manpages
+# include "/usr/share/nano/man.nanorc"
+
+## Groff
+# include "/usr/share/nano/groff.nanorc"
+
+## Perl
+# include "/usr/share/nano/perl.nanorc"
+
+## Python
+# include "/usr/share/nano/python.nanorc"
+
+## Ruby
+# include "/usr/share/nano/ruby.nanorc"
+
+## Java
+# include "/usr/share/nano/java.nanorc"
+
+## Assembler
+# include "/usr/share/nano/asm.nanorc"
+
+## Bourne shell scripts
+include "/usr/share/nano/sh.nanorc"
+
+## POV-Ray
+# include "/usr/share/nano/pov.nanorc"
diff -r 8d79fbb0f566 -r 4bd82e9961cb ncurses-dev/receipt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ncurses-dev/receipt Tue Dec 18 13:38:57 2007 +0100
@@ -0,0 +1,19 @@
+# SliTaz package receipt.
+
+PACKAGE="ncurses-dev"
+VERSION="5.6"
+CATEGORY="devel"
+SHORT_DESC="Devel files for the ncurses library."
+MAINTAINER="pankso@slitaz.org"
+WANTED="ncurses"
+WEB_SITE="http://invisible-island.net/ncurses/"
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+ mkdir -p $fs/lib $fs/usr/bin
+ cp -a $_pkg/lib/*.a $fs/lib
+ cp -a $_pkg/usr/include $fs/usr
+ cp $_pkg/usr/bin/ncurses5-config $fs/usr/bin
+ chmod 755 $fs/usr/bin/*
+}