Subversion Repositories DevTools

Rev

Rev 1469 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

########################################################################
# Copyright (C) 2007 ERG Limited, All rights reserved
#
# Module name   : PackageApp
# Module type   : Makefile system
# Compiler(s)   : n/a
# Environment(s): jats
#
# Description   : Script to be processed by the Debian Packager
#                 This script is not directly processed by JATS
#
#   This file is processed by the Debian Packager in order to construct
#   the package. It contains simple directives to construct the package
#
#......................................................................#

#
#   Specify the DEBIAN packaging files
#
PackageDescription ("Unknown Debian Package Description");
DebianFiles ('--PostInst=.deb/postinstall');

#
#   Insert the Application
#
CopyDir ( '/',      '/',    '--Source=PackagePkgDir' );
CopyDir ( '/',      '/lib', '--Source=PackageLibDir', '--Merge' );


#
#   Make every thing executable
#       This is good for directories
#       This is good for all files in this package.
#
Message ("Mark files as executable");
SetFilePerms ('a+rx', '/bin' , '--Recurse');
SetFilePerms ('a+rx', '/lib' , '--Recurse');

#
#   All done
#   The wrapper scripts will build and package the complete package