spk view README @ rev 4

info should be in libspk
author Christian Mesh <meshca@clarkson.edu>
date Fri May 11 10:00:39 2012 -0500 (2012-05-11)
parents ad4985a24e9b
children 92d281f307b8
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 LibSpk
29 -------------------------------------------------------------------------------
30 * Display package info
31 * ...
33 Devnotes
34 -------------------------------------------------------------------------------
35 Some random and usefull notes.
37 * packages.desc format: package | 1.0 | desc | category | website
38 * packages.md5 format : de9f76250657000958ee0120d376613e package-1.0.tazpkg
39 * ...
41 Since we use latest libtaz.sh, slitaz.conf and libpkg.sh code you must install
42 these files to develop the Spk Toolset:
44 $ hg clone http://hg.slitaz.org/slitaz-base-files
45 $ cd slitaz-base-files
46 $ make install-libtaz
47 $ make install-libpkg
48 $ make install-slitaz
51 Coding style
52 --------------------------------------------------------------------------------
53 Here are the spk coding style notes, follow them if you want your code included
54 in the package. These rules are in addition to cookutils coding style, please
55 read also cookutils/README
58 * No bash, be Busybox Ash compatible
59 * Use libtaz.sh, slitaz.conf and libpkg.sh
60 * ...
62 ================================================================================