1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "macros.inc" 25 26Installation gid_Installation_Sdk 27 ProductName = "${PRODUCTNAME}"; 28 ProductVersion = "${PRODUCTVERSION}"; 29 ProductExtension = "${PRODUCTEXTENSION}"; 30 OOoBaseVersion = "${OOOBASEVERSION}"; 31#if defined WNT 32 DefaultDestPath = "<winprogpath>\%PRODUCTNAME"; 33#else 34 DefaultDestPath = "/opt/%PRODUCTNAME"; 35#endif 36End 37 38DataCarrier gid_Datacarrier 39 Name = "%PRODUCTNAME %PRODUCTVERSION"; 40 DiskNo = 1; 41End 42 43#ifndef MACOSX 44 45#ifdef WNT 46Directory gid_Dir_OpenOffice_Sdk 47 ParentID = PREDEFINED_PROGDIR; 48 HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}"; 49 Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION); 50End 51#else 52Directory gid_Dir_OpenOffice_Sdk 53 ParentID = PREDEFINED_PROGDIR; 54 HostName = "${UNIXPRODUCTNAME}${BRANDPACKAGEVERSION}"; 55End 56#endif 57 58#endif 59 60Directory gid_Dir_Basis_Sdk 61#if defined MACOSX 62 ParentID = PREDEFINED_PROGDIR; 63# DosName = "OpenOffice_SDK"; 64 DosName = "${PRODUCTDIRNAME}"; 65#else 66 ParentID = gid_Dir_OpenOffice_Sdk; 67 DosName = "sdk"; 68#endif 69End 70 71 72#if defined MACOSX 73ScpAction scp_Copy_License_Txt_Sdk 74 Copy = "LICENSE"; 75 Name = "LICENSE"; 76 Styles = (SCPZIP_REPLACE); 77 Subdir = "LICENSEs"; 78End 79ScpAction scp_Copy_Notice_Txt_Sdk 80 Copy = "NOTICE"; 81 Name = "NOTICE"; 82 Styles = (SCPZIP_REPLACE); 83 Subdir = "LICENSEs"; 84End 85#endif 86 87 88Directory gid_Dir_Share_Sdk 89 ParentID = gid_Dir_Basis_Sdk; 90 DosName = "share"; 91End 92 93Directory gid_Dir_Share_Readme_Sdk 94 ParentID = gid_Dir_Share_Sdk; 95 DosName = "readme"; 96End 97 98 99Module gid_Module_Root 100 Name = "sdkoo"; 101 Description = "sdkoo"; 102 PackageInfo = "packinfo_sdkoo.txt"; 103End 104 105File gid_File_Txt_Notice 106 TXT_FILE_BODY; 107 Dir = gid_Dir_Basis_Sdk; 108 Name = "NOTICE"; 109 Styles = (PACKED, SCPZIP_REPLACE); 110End 111 112File gid_File_Txt_License_Root 113 TXT_FILE_BODY; 114 Dir = gid_Dir_Basis_Sdk; 115 Name = "LICENSE"; 116 Styles = (PACKED, SCPZIP_REPLACE); 117End 118 119File gid_File_Txt_Readme 120 TXT_FILE_BODY; 121 Dir = gid_Dir_Share_Readme_Sdk; 122 #ifdef UNX 123 Name = "README_en-US"; 124 #endif 125 #ifdef WNT 126 Name = "readme_en-US.txt"; 127 #endif 128 Styles = (PACKED, SCPZIP_REPLACE); 129End 130 131File gid_File_Txt_Readme_Html 132 TXT_FILE_BODY; 133 Dir = gid_Dir_Share_Readme_Sdk; 134 #ifdef UNX 135 Name = "README_en-US.html"; 136 #endif 137 #ifdef WNT 138 Name = "readme_en-US.html"; 139 #endif 140 Styles = (PACKED, SCPZIP_REPLACE); 141End 142 143 144File gid_File_Zip_Odkexamples 145 TXT_FILE_BODY; 146 Dir = gid_Dir_Basis_Sdk; 147 Name = "odkexamples.zip"; 148 Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 149End 150 151 152File gid_File_Zip_Odkcommon 153 TXT_FILE_BODY; 154 Dir = gid_Dir_Basis_Sdk; 155 Name = "odkcommon.zip"; 156 Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 157End 158 159#if (!defined(WNT) && !defined( MACOSX) ) 160Directory gid_Dir_Lib_Sdk 161 Styles = (CREATE); 162 ParentID = gid_Dir_Basis_Sdk; 163 DosName = "lib"; 164End 165#endif 166 167#if (!defined(WNT) && !defined( MACOSX) ) 168Unixlink gid_Unixlink_Sal_Link_Sdk 169 BIN_FILE_BODY; 170 Styles = (); 171 Name = SCP2_URE_DL_UNO_NORMAL("sal"); 172 Dir = gid_Dir_Lib_Sdk; 173 Target = "../../program/" SCP2_URE_DL_UNO_VER("sal", "3"); 174End 175#endif 176 177#if (!defined(WNT) && !defined( MACOSX) ) 178Unixlink gid_Unixlink_Salhelper_Link_Sdk 179 BIN_FILE_BODY; 180 Styles = (); 181 Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper"); 182 Dir = gid_Dir_Lib_Sdk; 183 Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); 184End 185#endif 186 187#if (!defined(WNT) && !defined( MACOSX) ) 188Unixlink gid_Unixlink_Cppu_Link_Sdk 189 BIN_FILE_BODY; 190 Styles = (); 191 Name = SCP2_URE_DL_UNO_NORMAL("cppu"); 192 Dir = gid_Dir_Lib_Sdk; 193 Target = "../../program/" SCP2_URE_DL_UNO_VER("cppu", "3"); 194End 195#endif 196 197#if (!defined(WNT) && !defined( MACOSX) ) 198Unixlink gid_Unixlink_Cppuhelper_Link_Sdk 199 BIN_FILE_BODY; 200 Styles = (); 201 // Styles = (LAYERLINK); 202 Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper"); 203 Dir = gid_Dir_Lib_Sdk; 204 Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); 205End 206#endif 207 208#if (!defined(WNT) && !defined( MACOSX) ) 209Unixlink gid_Unixlink_Purpenvhelper_Link_Sdk 210 BIN_FILE_BODY; 211 Styles = (); 212 Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper"); 213 Dir = gid_Dir_Lib_Sdk; 214 Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3"); 215End 216#endif 217 218#ifdef MACOSX 219ScpAction scp_Copy_Dmg_Background_Image 220 Copy = "osxdndinstall_sdk.png"; 221 BetaCopy = "osxdndinstall_sdk_beta.png"; 222 Name = "background.png"; 223 UnixRights = 444; 224 Styles = (); 225 Subdir = ".background"; 226End 227 228ScpAction scp_Copy_Ds_Store 229 Copy = "DS_Store_SDK"; 230 BetaCopy = "DS_Store_SDK_Beta"; 231 Name = ".DS_Store"; 232 UnixRights = 444; 233 Styles = (); 234End 235#endif 236