# /etc/slitaz/slitaz.conf: SliTaz variables used by almost all tools.
#

# SliTaz release.
SLITAZ_RELEASE="$(cat /etc/slitaz-release)"

# SliTaz architecture.
SLITAZ_ARCH="i486"

# SliTaz directory.
SLITAZ_HOME="/home/slitaz"

# SliTaz directory.
SLITAZ_CONFIGS="/etc/slitaz"

# SliTaz logs directory.
SLITAZ_LOGS="/var/log/slitaz"

# Path to each version.
STABLE="$SLITAZ_HOME/stable"
COOKING="$SLITAZ_HOME/cooking"
UNDIGEST="$SLITAZ_HOME/undigest"

# The type of checksum and ext for packages.md5-like file
# md5sum : default (but weak) [sha1sum|sha256sum|sha512sum]
CHECKSUM="md5sum"
SUM="${CHECKSUM/sum}"

# Main mirror URL.
MIRROR_URL="http://mirror.slitaz.org"

# Online and local packages repository.
ONLINE_PKGS="$MIRROR_URL/packages/$SLITAZ_RELEASE/"
LOCAL_PKGS="$SLITAZ_HOME/$SLITAZ_RELEASE/packages/"

# Path to Tazpkg data base.
PKGS_DB="/var/lib/tazpkg"

# Packages categories.
PKGS_CATEGORIES="
admin
base-system
cli-mono
comm
database
development
doc
editors
electronics
embedded
fonts
games
gnome
gnu-r
gnustep
graphics
hamradio
haskell
httpd
java
kernel
libdevel
libs
lisp
localization
mail
math
meta
misc
multimedia
network
news
non-free
ocaml
office
oldlibs
otherosfs
perl
php
ruby
security
shells
sound
system-tools
tex
text
utilities
vcs
video
web
x-window
xfce"

#
# OLD variables for compatibility purposes.
#

SLITAZ_VERSION="$SLITAZ_RELEASE"
CACHE_DIR="/var/cache/tazpkg"
LOCALSTATE="$PKGS_DB"
INSTALLED="$PKGS_DB/installed"

