CHECKINSTALL 
=============

Checkinstall is the basic tool to create
a package from an original source code tarball
into a binary package (tgz).
Then you may contribute the binary package
into vectelopment process.
                          
[source-code]--->[tgz]--->[vectelopment]

Vecpkg adds some more package utilities for
installing and removing the package.

----
1. Prepare the host

To Create a package from a tarball, you need a host
running VL-5.0rc? or VL-dynamite-5.0rc? or Slackware 10.
In that order of priority. You need two tool-kits:
* checkinstall
* vecpkg2
Both have already included on VL, but you need to install them on Slackware.

----
2. Get the original source code.
Download the source code of your choice from their homepage.
Usually, the name is package-*.tar.gz or package-*.tar.bz2.

----
3. Compiling and Packaging
Here is the steps on a terminal or console

[pre]
# Set your environment. Put this in your $HOME/.basrc
export CFLAGS="-O3 -mcpu=i686 -march=i586"
export CXXFLAGS="$CFLAGS"

# Extract the source tarball
tar -xzf the_package-VER.tar.gz

# or if tar.bz2, use this command
tar -xjf the_package-VER.tar.bz2

# go to the source direectory
cd the_package-VER

# Configure and compile it
./configure && make

# Usually somebody runs "make install" after this
# Instead, you use checkinstall to make the package
checkinstall

# Install it for testing
pkg -i the_package-*.tgz

# You may remove the package from your host by issuing
# pkg -r the_package

# DONE
[pre]

----
4. Contribute it
Upload the_package-*.tgz to the vectelopment-5.0/tgz directory.
Please put it in the proper place, according to 
its library (cli, x11, x11/gtk, etc) and its USAGE (DEV, EDIT, EDU, etc).

