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#else 65 ParentID = gid_Dir_OpenOffice_Sdk; 66 DosName = "sdk"; 67#endif 68End 69 70 71#if defined MACOSX 72ScpAction scp_Copy_License_Txt_Sdk 73 Copy = "LICENSE"; 74 Name = "LICENSE"; 75 Styles = (SCPZIP_REPLACE); 76 Subdir = "LICENSEs"; 77End 78ScpAction scp_Copy_Notice_Txt_Sdk 79 Copy = "NOTICE"; 80 Name = "NOTICE"; 81 Styles = (SCPZIP_REPLACE); 82 Subdir = "LICENSEs"; 83End 84#endif 85 86 87Directory gid_Dir_Share_Sdk 88 ParentID = gid_Dir_Basis_Sdk; 89 DosName = "share"; 90End 91 92Directory gid_Dir_Share_Readme_Sdk 93 ParentID = gid_Dir_Share_Sdk; 94 DosName = "readme"; 95End 96 97 98Module gid_Module_Root 99 Name = "sdkoo"; 100 Description = "sdkoo"; 101 PackageInfo = "packinfo_sdkoo.txt"; 102End 103 104File gid_File_Txt_Notice 105 TXT_FILE_BODY; 106 Dir = gid_Dir_Basis_Sdk; 107 Name = "NOTICE"; 108 Styles = (PACKED, SCPZIP_REPLACE); 109End 110 111File gid_File_Txt_License_Root 112 TXT_FILE_BODY; 113 Dir = gid_Dir_Basis_Sdk; 114 Name = "LICENSE"; 115 Styles = (PACKED, SCPZIP_REPLACE); 116End 117 118File gid_File_Txt_Readme 119 TXT_FILE_BODY; 120 Dir = gid_Dir_Share_Readme_Sdk; 121 #ifdef UNX 122 Name = "README_en-US"; 123 #endif 124 #ifdef WNT 125 Name = "readme_en-US.txt"; 126 #endif 127 Styles = (PACKED, SCPZIP_REPLACE); 128End 129 130File gid_File_Txt_Readme_Html 131 TXT_FILE_BODY; 132 Dir = gid_Dir_Share_Readme_Sdk; 133 #ifdef UNX 134 Name = "README_en-US.html"; 135 #endif 136 #ifdef WNT 137 Name = "readme_en-US.html"; 138 #endif 139 Styles = (PACKED, SCPZIP_REPLACE); 140End 141 142 143File gid_File_Zip_Odkexamples 144 TXT_FILE_BODY; 145 Dir = gid_Dir_Basis_Sdk; 146 Name = "odkexamples.zip"; 147 Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 148End 149 150 151File gid_File_Zip_Odkcommon 152 TXT_FILE_BODY; 153 Dir = gid_Dir_Basis_Sdk; 154 Name = "odkcommon.zip"; 155 Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); 156End 157 158#if (!defined(WNT) && !defined( MACOSX) ) 159Directory gid_Dir_Lib_Sdk 160 Styles = (CREATE); 161 ParentID = gid_Dir_Basis_Sdk; 162 DosName = "lib"; 163End 164#endif 165 166#if (!defined(WNT) && !defined( MACOSX) ) 167Unixlink gid_Unixlink_Sal_Link_Sdk 168 BIN_FILE_BODY; 169 Styles = (); 170 Name = SCP2_URE_DL_UNO_NORMAL("sal"); 171 Dir = gid_Dir_Lib_Sdk; 172 Target = "../../program/" SCP2_URE_DL_UNO_VER("sal", "3"); 173End 174#endif 175 176#if (!defined(WNT) && !defined( MACOSX) ) 177Unixlink gid_Unixlink_Salhelper_Link_Sdk 178 BIN_FILE_BODY; 179 Styles = (); 180 Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper"); 181 Dir = gid_Dir_Lib_Sdk; 182 Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); 183End 184#endif 185 186#if (!defined(WNT) && !defined( MACOSX) ) 187Unixlink gid_Unixlink_Cppu_Link_Sdk 188 BIN_FILE_BODY; 189 Styles = (); 190 Name = SCP2_URE_DL_UNO_NORMAL("cppu"); 191 Dir = gid_Dir_Lib_Sdk; 192 Target = "../../program/" SCP2_URE_DL_UNO_VER("cppu", "3"); 193End 194#endif 195 196#if (!defined(WNT) && !defined( MACOSX) ) 197Unixlink gid_Unixlink_Cppuhelper_Link_Sdk 198 BIN_FILE_BODY; 199 Styles = (); 200 // Styles = (LAYERLINK); 201 Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper"); 202 Dir = gid_Dir_Lib_Sdk; 203 Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); 204End 205#endif 206 207#if (!defined(WNT) && !defined( MACOSX) ) 208Unixlink gid_Unixlink_Purpenvhelper_Link_Sdk 209 BIN_FILE_BODY; 210 Styles = (); 211 Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper"); 212 Dir = gid_Dir_Lib_Sdk; 213 Target = "../../program/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3"); 214End 215#endif 216 217#ifdef MACOSX 218ScpAction scp_Copy_Dmg_Background_Image 219 Copy = "osxdndinstall_sdk.png"; 220 Name = "background.png"; 221 UnixRights = 444; 222 Styles = (); 223 Subdir = ".background"; 224End 225 226ScpAction scp_Copy_Ds_Store 227 Copy = "DS_Store_SDK"; 228# PatchCopy = "DS_Store_Patch"; 229 Name = ".DS_Store"; 230 UnixRights = 444; 231 Styles = (); 232End 233#endif 234