spk view README @ rev 3

README: not sure about spk-info :-)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 11 16:02:31 2012 +0200 (2012-05-11)
parents 4ce256d47250
children 18c3408dec16
line source
1 SliTaz Spk
2 ================================================================================
5 The SliTaz Spk toolset provide tools and utils to handle SliTaz packages.
8 Spk
9 -------------------------------------------------------------------------------
10 Spk is the main tool to handle and play with SliTaz packages, it handles multiple
11 packages on cmdline and a wide range of --options which will perform tasks such as
12 adding or removing packages using the toolset. Spk itself provides some small
13 commands such as ls or info.
16 Toolset
17 -------------------------------------------------------------------------------
18 Spk is separated in many small tools following the UNIX philosophy: one tool for
19 one task but do that task well. Here is a list of proposal tools and ther functions:
21 * spk-add : Install local or online pkgs
22 * spk-rm : Remove packages: confirm in option ?
23 * spk-up : Upgrade the all system
24 * spk-search : Search for packages or files
25 * spk-archive: Manage pacakge extraction, compression, and packing
26 * spk-mirror : Manage mirrors and undigest
28 * spk-info : Print info about packages: in spk itself ?
29 Example: spk pkg1 pkg2 pkg3 will return packages info and status ?
32 Devnotes
33 -------------------------------------------------------------------------------
34 Some random and usefull notes.
36 * packages.desc format: package | 1.0 | desc | category | website
37 * packages.md5 format : de9f76250657000958ee0120d376613e package-1.0.tazpkg
38 * ...
40 Since we use latest libtaz.sh, slitaz.conf and libpkg.sh code you must install
41 these files to develop the Spk Toolset:
43 $ hg clone http://hg.slitaz.org/slitaz-base-files
44 $ cd slitaz-base-files
45 $ make install-libtaz
46 $ make install-libpkg
47 $ make install-slitaz
50 Coding style
51 --------------------------------------------------------------------------------
52 Here are the spk coding style notes, follow them if you want your code included
53 in the package. These rules are in addition to cookutils coding style, please
54 read also cookutils/README
57 * No bash, be Busybox Ash compatible
58 * Use libtaz.sh, slitaz.conf and libpkg.sh
59 * ...
61 ================================================================================