1022bd5b4SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4022bd5b4SAndrew Rist * or more contributor license agreements. See the NOTICE file 5022bd5b4SAndrew Rist * distributed with this work for additional information 6022bd5b4SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the 8022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance 9022bd5b4SAndrew Rist * with the License. You may obtain a copy of the License at 10022bd5b4SAndrew Rist * 11022bd5b4SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12022bd5b4SAndrew Rist * 13022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing, 14022bd5b4SAndrew Rist * software distributed under the License is distributed on an 15022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16022bd5b4SAndrew Rist * KIND, either express or implied. See the License for the 17022bd5b4SAndrew Rist * specific language governing permissions and limitations 18022bd5b4SAndrew Rist * under the License. 19022bd5b4SAndrew Rist * 20022bd5b4SAndrew Rist *************************************************************/ 21022bd5b4SAndrew Rist 22022bd5b4SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "macros.inc" 25cdf0e10cSrcweir 26cdf0e10cSrcweirInstallation gid_Installation_Sdk 27cdf0e10cSrcweir ProductName = "${PRODUCTNAME}"; 28cdf0e10cSrcweir ProductVersion = "${PRODUCTVERSION}"; 29cdf0e10cSrcweir ProductExtension = "${PRODUCTEXTENSION}"; 30cdf0e10cSrcweir OOoBaseVersion = "${OOOBASEVERSION}"; 31cdf0e10cSrcweir#if defined WNT 32cdf0e10cSrcweir DefaultDestPath = "<winprogpath>\%PRODUCTNAME"; 33cdf0e10cSrcweir#else 34cdf0e10cSrcweir DefaultDestPath = "/opt/%PRODUCTNAME"; 35cdf0e10cSrcweir#endif 36cdf0e10cSrcweirEnd 37cdf0e10cSrcweir 38cdf0e10cSrcweirDataCarrier gid_Datacarrier 39cdf0e10cSrcweir Name = "%PRODUCTNAME %PRODUCTVERSION"; 40cdf0e10cSrcweir DiskNo = 1; 41cdf0e10cSrcweirEnd 42cdf0e10cSrcweir 43cdf0e10cSrcweir#ifndef MACOSX 44cdf0e10cSrcweir 45cdf0e10cSrcweir#ifdef WNT 462e2269f7SJürgen SchmidtDirectory gid_Dir_OpenOffice_Sdk 47cdf0e10cSrcweir ParentID = PREDEFINED_PROGDIR; 48cdf0e10cSrcweir HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}"; 49cdf0e10cSrcweir Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION); 50cdf0e10cSrcweirEnd 512e2269f7SJürgen Schmidt#else 522e2269f7SJürgen SchmidtDirectory gid_Dir_OpenOffice_Sdk 53cdf0e10cSrcweir ParentID = PREDEFINED_PROGDIR; 542e2269f7SJürgen Schmidt HostName = "${UNIXPRODUCTNAME}${BRANDPACKAGEVERSION}"; 55cdf0e10cSrcweirEnd 56cdf0e10cSrcweir#endif 57cdf0e10cSrcweir 58cdf0e10cSrcweir#endif 59cdf0e10cSrcweir 60cdf0e10cSrcweirDirectory gid_Dir_Basis_Sdk 61cdf0e10cSrcweir#if defined MACOSX 62cdf0e10cSrcweir ParentID = PREDEFINED_PROGDIR; 63d5e2d776SJürgen Schmidt DosName = "OpenOffice_SDK"; 64cdf0e10cSrcweir#else 652e2269f7SJürgen Schmidt ParentID = gid_Dir_OpenOffice_Sdk; 66cdf0e10cSrcweir DosName = "sdk"; 67cdf0e10cSrcweir#endif 68cdf0e10cSrcweirEnd 69cdf0e10cSrcweir 70cdf0e10cSrcweir 71cdf0e10cSrcweir#if defined MACOSX 72cdf0e10cSrcweirScpAction scp_Copy_License_Txt_Sdk 73b14cb721SHerbert Dürr Copy = "LICENSE"; 74b14cb721SHerbert Dürr Name = "LICENSE"; 75cdf0e10cSrcweir Styles = (SCPZIP_REPLACE); 76cdf0e10cSrcweir Subdir = "LICENSEs"; 77cdf0e10cSrcweirEnd 78a4309db7SHerbert DürrScpAction scp_Copy_Notice_Txt_Sdk 79b14cb721SHerbert Dürr Copy = "NOTICE"; 80b14cb721SHerbert Dürr Name = "NOTICE"; 81a4309db7SHerbert Dürr Styles = (SCPZIP_REPLACE); 82a4309db7SHerbert Dürr Subdir = "LICENSEs"; 83a4309db7SHerbert DürrEnd 84cdf0e10cSrcweir#endif 85cdf0e10cSrcweir 86cdf0e10cSrcweir 87cdf0e10cSrcweirDirectory gid_Dir_Share_Sdk 88cdf0e10cSrcweir ParentID = gid_Dir_Basis_Sdk; 89cdf0e10cSrcweir DosName = "share"; 90cdf0e10cSrcweirEnd 91cdf0e10cSrcweir 92cdf0e10cSrcweirDirectory gid_Dir_Share_Readme_Sdk 93cdf0e10cSrcweir ParentID = gid_Dir_Share_Sdk; 94cdf0e10cSrcweir DosName = "readme"; 95cdf0e10cSrcweirEnd 96cdf0e10cSrcweir 97cdf0e10cSrcweir 98cdf0e10cSrcweirModule gid_Module_Root 99cdf0e10cSrcweir Name = "sdkoo"; 100cdf0e10cSrcweir Description = "sdkoo"; 101cdf0e10cSrcweir PackageInfo = "packinfo_sdkoo.txt"; 102cdf0e10cSrcweirEnd 103cdf0e10cSrcweir 10404c650f9SJürgen SchmidtFile gid_File_Txt_Notice 10504c650f9SJürgen Schmidt TXT_FILE_BODY; 10604c650f9SJürgen Schmidt Dir = gid_Dir_Basis_Sdk; 10704c650f9SJürgen Schmidt Name = "NOTICE"; 10804c650f9SJürgen Schmidt Styles = (PACKED, SCPZIP_REPLACE); 10904c650f9SJürgen SchmidtEnd 11004c650f9SJürgen Schmidt 11104c650f9SJürgen SchmidtFile gid_File_Txt_License_Root 11204c650f9SJürgen Schmidt TXT_FILE_BODY; 11304c650f9SJürgen Schmidt Dir = gid_Dir_Basis_Sdk; 11404c650f9SJürgen Schmidt Name = "LICENSE"; 11504c650f9SJürgen Schmidt Styles = (PACKED, SCPZIP_REPLACE); 11604c650f9SJürgen SchmidtEnd 11704c650f9SJürgen Schmidt 118cdf0e10cSrcweirFile gid_File_Txt_Readme 119cdf0e10cSrcweir TXT_FILE_BODY; 120cdf0e10cSrcweir Dir = gid_Dir_Share_Readme_Sdk; 121cdf0e10cSrcweir #ifdef UNX 122cdf0e10cSrcweir Name = "README_en-US"; 123cdf0e10cSrcweir #endif 124cdf0e10cSrcweir #ifdef WNT 125cdf0e10cSrcweir Name = "readme_en-US.txt"; 126cdf0e10cSrcweir #endif 127cdf0e10cSrcweir Styles = (PACKED, SCPZIP_REPLACE); 128cdf0e10cSrcweirEnd 129cdf0e10cSrcweir 130cdf0e10cSrcweirFile gid_File_Txt_Readme_Html 131cdf0e10cSrcweir TXT_FILE_BODY; 132cdf0e10cSrcweir Dir = gid_Dir_Share_Readme_Sdk; 133cdf0e10cSrcweir #ifdef UNX 134cdf0e10cSrcweir Name = "README_en-US.html"; 135cdf0e10cSrcweir #endif 136cdf0e10cSrcweir #ifdef WNT 137cdf0e10cSrcweir Name = "readme_en-US.html"; 138cdf0e10cSrcweir #endif 139cdf0e10cSrcweir Styles = (PACKED, SCPZIP_REPLACE); 140cdf0e10cSrcweirEnd 141cdf0e10cSrcweir 142cdf0e10cSrcweir 143cdf0e10cSrcweirFile gid_File_Zip_Odkexamples 144cdf0e10cSrcweir TXT_FILE_BODY; 145cdf0e10cSrcweir Dir = gid_Dir_Basis_Sdk; 146cdf0e10cSrcweir Name = "odkexamples.zip"; 147cdf0e10cSrcweir Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 148cdf0e10cSrcweirEnd 149cdf0e10cSrcweir 150cdf0e10cSrcweir 151cdf0e10cSrcweirFile gid_File_Zip_Odkcommon 152cdf0e10cSrcweir TXT_FILE_BODY; 153cdf0e10cSrcweir Dir = gid_Dir_Basis_Sdk; 154cdf0e10cSrcweir Name = "odkcommon.zip"; 155cdf0e10cSrcweir Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 156cdf0e10cSrcweirEnd 157cdf0e10cSrcweir 158cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 159cdf0e10cSrcweirDirectory gid_Dir_Lib_Sdk 160cdf0e10cSrcweir Styles = (CREATE); 161cdf0e10cSrcweir ParentID = gid_Dir_Basis_Sdk; 162cdf0e10cSrcweir DosName = "lib"; 163cdf0e10cSrcweirEnd 164cdf0e10cSrcweir#endif 165cdf0e10cSrcweir 166cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 167cdf0e10cSrcweirUnixlink gid_Unixlink_Sal_Link_Sdk 168cdf0e10cSrcweir BIN_FILE_BODY; 169cdf0e10cSrcweir Styles = (); 170cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_NORMAL("sal"); 171cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 1722e2269f7SJürgen Schmidt Target = "../../program/" SCP2_URE_DL_UNO_VER("sal", "3"); 173cdf0e10cSrcweirEnd 174cdf0e10cSrcweir#endif 175cdf0e10cSrcweir 176cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 177cdf0e10cSrcweirUnixlink gid_Unixlink_Salhelper_Link_Sdk 178cdf0e10cSrcweir BIN_FILE_BODY; 179cdf0e10cSrcweir Styles = (); 180cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper"); 181cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 1822e2269f7SJürgen Schmidt Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); 183cdf0e10cSrcweirEnd 184cdf0e10cSrcweir#endif 185cdf0e10cSrcweir 186cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 187cdf0e10cSrcweirUnixlink gid_Unixlink_Cppu_Link_Sdk 188cdf0e10cSrcweir BIN_FILE_BODY; 189cdf0e10cSrcweir Styles = (); 190cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_NORMAL("cppu"); 191cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 1922e2269f7SJürgen Schmidt Target = "../../program/" SCP2_URE_DL_UNO_VER("cppu", "3"); 193cdf0e10cSrcweirEnd 194cdf0e10cSrcweir#endif 195cdf0e10cSrcweir 196cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 197cdf0e10cSrcweirUnixlink gid_Unixlink_Cppuhelper_Link_Sdk 198cdf0e10cSrcweir BIN_FILE_BODY; 199cdf0e10cSrcweir Styles = (); 200cdf0e10cSrcweir // Styles = (LAYERLINK); 201cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper"); 202cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 2032e2269f7SJürgen Schmidt Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); 204cdf0e10cSrcweirEnd 205cdf0e10cSrcweir#endif 206cdf0e10cSrcweir 207cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) ) 208cdf0e10cSrcweirUnixlink gid_Unixlink_Purpenvhelper_Link_Sdk 209cdf0e10cSrcweir BIN_FILE_BODY; 210cdf0e10cSrcweir Styles = (); 211cdf0e10cSrcweir Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper"); 212cdf0e10cSrcweir Dir = gid_Dir_Lib_Sdk; 2132e2269f7SJürgen Schmidt Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3"); 214cdf0e10cSrcweirEnd 215cdf0e10cSrcweir#endif 216ef1ef8e6SJürgen Schmidt 217ef1ef8e6SJürgen Schmidt#ifdef MACOSX 218ef1ef8e6SJürgen SchmidtScpAction scp_Copy_Dmg_Background_Image 219*943a75acSJürgen Schmidt Copy = "osxdndinstall_sdk.png"; 220ef1ef8e6SJürgen Schmidt Name = "background.png"; 221ef1ef8e6SJürgen Schmidt UnixRights = 444; 222ef1ef8e6SJürgen Schmidt Styles = (); 223ef1ef8e6SJürgen Schmidt Subdir = ".background"; 224ef1ef8e6SJürgen SchmidtEnd 225ef1ef8e6SJürgen Schmidt 226ef1ef8e6SJürgen SchmidtScpAction scp_Copy_Ds_Store 227ef1ef8e6SJürgen Schmidt Copy = "DS_Store_SDK"; 228ef1ef8e6SJürgen Schmidt# PatchCopy = "DS_Store_Patch"; 229ef1ef8e6SJürgen Schmidt Name = ".DS_Store"; 230ef1ef8e6SJürgen Schmidt UnixRights = 444; 231ef1ef8e6SJürgen Schmidt Styles = (); 232ef1ef8e6SJürgen SchmidtEnd 233ef1ef8e6SJürgen Schmidt#endif 234