/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sdkoo.scp,v $ * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #include "macros.inc" Installation gid_Installation_Sdk ProductName = "${PRODUCTNAME}"; ProductVersion = "${PRODUCTVERSION}"; ProductExtension = "${PRODUCTEXTENSION}"; OOoBaseVersion = "${OOOBASEVERSION}"; #if defined WNT DefaultDestPath = "\%PRODUCTNAME"; #else DefaultDestPath = "/opt/%PRODUCTNAME"; #endif End DataCarrier gid_Datacarrier Name = "%PRODUCTNAME %PRODUCTVERSION"; DiskNo = 1; End #ifndef MACOSX #ifdef WNT Directory gid_Dir_Sdkoo_Root ParentID = PREDEFINED_PROGDIR; HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}"; Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION); End #endif #ifndef WNT Directory gid_Dir_Ooo_Openofficeorg_Sdk ParentID = PREDEFINED_PROGDIR; #ifdef WNT HostName = "${BASISROOTNAME}"; #else HostName = "${UNIXBASISROOTNAME}"; #endif End #endif #ifndef WNT Directory gid_Dir_Ooo_Basis_Sdk ParentID = gid_Dir_Ooo_Openofficeorg_Sdk; #ifdef WNT HostName = "Basis ${OOOBASEVERSION}"; #else HostName = "basis${OOOBASEVERSION}"; #endif Styles = (BASISDIRECTORY); End #endif #endif Directory gid_Dir_Basis_Sdk #if defined MACOSX ParentID = PREDEFINED_PROGDIR; DosName = "OpenOffice.org${OOOBASEVERSION}_SDK"; #else #if defined WNT ParentID = gid_Dir_Sdkoo_Root; #else ParentID = gid_Dir_Ooo_Basis_Sdk; #endif DosName = "sdk"; #endif End #if defined MACOSX ScpAction scp_Copy_License_Html_Sdk README_TXT_ALL_LANG(Copy, LICENSE, html); README_TXT_ALL_LANG(Name, LICENSE, html); Styles = (SCPZIP_REPLACE); Subdir = "LICENSEs"; End ScpAction scp_Copy_License_Txt_Sdk README_ALL_LANG(Copy, LICENSE); README_ALL_LANG(Name, LICENSE); Styles = (SCPZIP_REPLACE); Subdir = "LICENSEs"; End #endif Directory gid_Dir_Share_Sdk ParentID = gid_Dir_Basis_Sdk; DosName = "share"; End Directory gid_Dir_Share_Readme_Sdk ParentID = gid_Dir_Share_Sdk; DosName = "readme"; End Module gid_Module_Root Name = "sdkoo"; Description = "sdkoo"; PackageInfo = "packinfo_sdkoo.txt"; End File gid_File_Txt_Notice TXT_FILE_BODY; Dir = gid_Dir_Basis_Sdk; Name = "NOTICE"; Styles = (PACKED, SCPZIP_REPLACE); End File gid_File_Txt_License_Root TXT_FILE_BODY; Dir = gid_Dir_Basis_Sdk; Name = "LICENSE"; Styles = (PACKED, SCPZIP_REPLACE); End File gid_File_Txt_License TXT_FILE_BODY; Dir = gid_Dir_Share_Readme_Sdk; #ifdef UNX Name = "LICENSE_en-US"; #endif #ifdef WNT Name = "license_en-US.txt"; #endif Styles = (PACKED, SCPZIP_REPLACE); End File gid_File_Txt_License_Html TXT_FILE_BODY; Dir = gid_Dir_Share_Readme_Sdk; #ifdef UNX Name = "LICENSE_en-US.html"; #endif #ifdef WNT Name = "license_en-US.html"; #endif Styles = (PACKED, SCPZIP_REPLACE); End File gid_File_Txt_Readme TXT_FILE_BODY; Dir = gid_Dir_Share_Readme_Sdk; #ifdef UNX Name = "README_en-US"; #endif #ifdef WNT Name = "readme_en-US.txt"; #endif Styles = (PACKED, SCPZIP_REPLACE); End File gid_File_Txt_Readme_Html TXT_FILE_BODY; Dir = gid_Dir_Share_Readme_Sdk; #ifdef UNX Name = "README_en-US.html"; #endif #ifdef WNT Name = "readme_en-US.html"; #endif Styles = (PACKED, SCPZIP_REPLACE); End File gid_File_Zip_Odkexamples TXT_FILE_BODY; Dir = gid_Dir_Basis_Sdk; Name = "odkexamples.zip"; Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); End File gid_File_Zip_Odkcommon TXT_FILE_BODY; Dir = gid_Dir_Basis_Sdk; Name = "odkcommon.zip"; Styles = (ARCHIVE,USE_INTERNAL_RIGHTS); End #if (!defined(WNT) && !defined( MACOSX) ) Directory gid_Dir_Lib_Sdk Styles = (CREATE); ParentID = gid_Dir_Basis_Sdk; DosName = "lib"; End #endif #if (!defined(WNT) && !defined( MACOSX) ) Unixlink gid_Unixlink_Sal_Link_Sdk BIN_FILE_BODY; Styles = (); Name = SCP2_URE_DL_UNO_NORMAL("sal"); Dir = gid_Dir_Lib_Sdk; Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("sal", "3"); End #endif #if (!defined(WNT) && !defined( MACOSX) ) Unixlink gid_Unixlink_Salhelper_Link_Sdk BIN_FILE_BODY; Styles = (); Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper"); Dir = gid_Dir_Lib_Sdk; Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3"); End #endif #if (!defined(WNT) && !defined( MACOSX) ) Unixlink gid_Unixlink_Cppu_Link_Sdk BIN_FILE_BODY; Styles = (); Name = SCP2_URE_DL_UNO_NORMAL("cppu"); Dir = gid_Dir_Lib_Sdk; Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("cppu", "3"); End #endif #if (!defined(WNT) && !defined( MACOSX) ) Unixlink gid_Unixlink_Cppuhelper_Link_Sdk BIN_FILE_BODY; Styles = (); // Styles = (LAYERLINK); Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper"); Dir = gid_Dir_Lib_Sdk; Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3"); End #endif #ifdef MACOSX ScpAction scp_Copy_Dmg_Background_Image Copy = "osxdndinstall.png"; Name = "background.png"; UnixRights = 444; Styles = (); Subdir = ".background"; End ScpAction scp_Copy_Ds_Store Copy = "DS_Store_SDK"; # PatchCopy = "DS_Store_Patch"; Name = ".DS_Store"; UnixRights = 444; Styles = (); End #endif