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