tazpkg view README @ rev 343

Prepare for i18n with gettext
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 20 11:52:56 2010 +0200 (2010-06-20)
parents 1bd156f6fa52
children f6dba4eac84a
line source
1 README for Tazpkg - Tiny autonomus packages manager
2 ===============================================================================
5 Tazpkg is a small but powerfull packages manager for SliTaz GNU/Linux and
6 other UNIX like operating system. It use tazpkg package generaly build by
7 Tazwok with receipt found in the wok. More information can be found in the
8 SliTaz Cookbook and the manual.
10 Tazpkg is entirely built from scratch using SHell script, compatible with
11 Bash, it runs under Ash - part of the Busybox project. Tazpkg is distributed
12 under the free GNU license GPL V3.
15 Installation
16 ------------
17 To install all needed files and compile translated messages, make and gettext
18 must be installed. Running 'make install' will install everything in /usr, but
19 another path and/or destination can be specified via PREFIX and DESTDIR.
20 Example:
22 $ make DESTDIR=$PWD/_pkg install
24 Uninstall
25 ---------
26 Simply type:
28 $ make uninstall
30 Translation
31 -----------
32 To start a new translation please use msginit from the pot file directory.
33 Example for French/France locale (fr_FR):
35 $ msginit -l fr_FR -o fr.po -i tazpkg.pot
37 To update all translations from the pot file:
39 $ make msgmerge
41 To compile po files for testing purposes you can use 'make msgfmt' or manually
42 compile your translation. Example for french locale, note that the file must be
43 copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it:
45 $ msgfmt -o tazpkg.mo fr.po
48 ===============================================================================
49 http://www.slitaz.org/