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