#!/usr/bin/env python
########################################
# author: Garonne Vincent              #
# Description: Create tarball from     # 
# sources.                             #
# Date: june/29/2005                   #
# based on the christian shell and     #
# python script                        #
########################################

import os
import sys
from   kit import *

#----------------------------------------------------
# Main
#----------------------------------------------------
def main ():
    
    kit = Kit                   (DEBUG=True)
    kit.get_options             (sys.argv)
    kit.make_pacman_cache       ()
    kit.make_tempory_file       ()
    kit.prepare_cmt_context     ()
    kit.prepare_patch_structure ()
    kit.prepare_externals       ()
    kit.prepare_temp            ()
    kit.build_pacman            ()
    kit.cleanup  
    sys.exit(-1)
  
if __name__ == '__main__':
    main()

##################################################################################################
#----------------------------------      END       ----------------------------------------------#
##################################################################################################