1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
# install.data --
#
# Installation configuration for TclXML package
#
# Copyright (c) 2001-2003 Zveno Pty Ltd
# http://www.zveno.com/
#
# Zveno makes this software available free of charge for any purpose.
# Copies may be made of this software but all of this notice must be included
# on any copy.
#
# The software was developed for research purposes only and Zveno does not
# warrant that it is error free or fit for any purpose. Zveno disclaims any
# liability for all claims, expenses, losses, damages and costs any user may
# incur as a result of using, copying or modifying this software.
#
# $Id: install.data,v 1.9 2003/12/03 20:06:28 balls Exp $
# This is an example install configuration file, and may be used
# as a template for other packages.
#
# An install configuration file is simply a Tcl script which is source'd
# by the generic installation script.
# Start by giving information about the package
# Corresponding Tcl variables are set
# These are all required
Package TclXML
MajorVersion 3
MinorVersion 0
Patchlevel {}
Version $MajorVersion.$MinorVersion$Patchlevel
# Some basic prerequisites can be specified
# tcllib doesnt currently support Tcl 8.0 (mainly string options syntax)
Require Tcl 8.1
Require uri 1.1
# Welcome describes the initial installer screen
# Here we provide a different message depending on the
# version of Tcl available
set message "This package provides support for parsing XML documents."
if {[info tclversion] < 8.3} {
set notes " Although the package will function with this version of Tcl ([info tclversion]), it is recommended that Tcl version 8.3 (or higher) is used."
} else {
set notes ""
}
Welcome $message $notes
# Each part to be installed is described by a "Component" directive.
# The type of component is given, followed by the list of sub directives
# setting extra component properties and files to be installed (glob expressions are OK).
#
# Valid component types are:
# programs Application programs
# scripts Tcl (or other) scripts
# binaries Binary (platform-specific shared library) files
# headers Include files (for developers)
# documentation-man Unix style nroff Manual pages
# documentation-generic Manual pages etc in HTML or plain text
# demos Example scripts and files
Ignore VC
Component binaries -mandatory
BasePath -buildpath
switch -glob $::tcl_platform(platform) {
"mac*" {
Files *.shlib
}
"windows" {
Files *.dll
Files *.lib
}
default {
Files *[info sharedlibextension]
#Files *.lib
}
}
Component scripts -mandatory
Files library/*.tcl
File library/pkgIndex.tcl.in
Index supplied
#Index needed ;# uncomment this to automatically create the pkgIndex file
Component documentation-generic -recommended
Files doc/*.html
Component documentation-man -optional
Files doc/*.n
Component demos -optional
Files examples/*
Executable examples/flatten.tcl
Executable examples/xmlwc
|