xref: /aoo41x/main/scp2/source/sdkoo/sdkoo.scp (revision d5e2d776)
1022bd5b4SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4022bd5b4SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5022bd5b4SAndrew Rist * distributed with this work for additional information
6022bd5b4SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the
8022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance
9022bd5b4SAndrew Rist * with the License.  You may obtain a copy of the License at
10022bd5b4SAndrew Rist *
11022bd5b4SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12022bd5b4SAndrew Rist *
13022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing,
14022bd5b4SAndrew Rist * software distributed under the License is distributed on an
15022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16022bd5b4SAndrew Rist * KIND, either express or implied.  See the License for the
17022bd5b4SAndrew Rist * specific language governing permissions and limitations
18022bd5b4SAndrew Rist * under the License.
19022bd5b4SAndrew Rist *
20022bd5b4SAndrew Rist *************************************************************/
21022bd5b4SAndrew Rist
22022bd5b4SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "macros.inc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirInstallation gid_Installation_Sdk
27cdf0e10cSrcweir    ProductName = "${PRODUCTNAME}";
28cdf0e10cSrcweir    ProductVersion = "${PRODUCTVERSION}";
29cdf0e10cSrcweir    ProductExtension = "${PRODUCTEXTENSION}";
30cdf0e10cSrcweir    OOoBaseVersion = "${OOOBASEVERSION}";
31cdf0e10cSrcweir#if defined WNT
32cdf0e10cSrcweir    DefaultDestPath = "<winprogpath>\%PRODUCTNAME";
33cdf0e10cSrcweir#else
34cdf0e10cSrcweir    DefaultDestPath = "/opt/%PRODUCTNAME";
35cdf0e10cSrcweir#endif
36cdf0e10cSrcweirEnd
37cdf0e10cSrcweir
38cdf0e10cSrcweirDataCarrier gid_Datacarrier
39cdf0e10cSrcweir    Name = "%PRODUCTNAME %PRODUCTVERSION";
40cdf0e10cSrcweir    DiskNo = 1;
41cdf0e10cSrcweirEnd
42cdf0e10cSrcweir
43cdf0e10cSrcweir#ifndef MACOSX
44cdf0e10cSrcweir
45cdf0e10cSrcweir#ifdef WNT
46cdf0e10cSrcweirDirectory gid_Dir_Sdkoo_Root
47cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
48cdf0e10cSrcweir    HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}";
49cdf0e10cSrcweir    Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION);
50cdf0e10cSrcweirEnd
51cdf0e10cSrcweir#endif
52cdf0e10cSrcweir
53cdf0e10cSrcweir#ifndef WNT
54cdf0e10cSrcweirDirectory gid_Dir_Ooo_Openofficeorg_Sdk
55cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
56cdf0e10cSrcweir    HostName = "${UNIXBASISROOTNAME}";
57cdf0e10cSrcweirEnd
58cdf0e10cSrcweir#endif
59cdf0e10cSrcweir
60cdf0e10cSrcweir#ifndef WNT
61cdf0e10cSrcweirDirectory gid_Dir_Ooo_Basis_Sdk
62cdf0e10cSrcweir    ParentID = gid_Dir_Ooo_Openofficeorg_Sdk;
63cdf0e10cSrcweir    HostName = "basis${OOOBASEVERSION}";
64cdf0e10cSrcweir    Styles = (BASISDIRECTORY);
65cdf0e10cSrcweirEnd
66cdf0e10cSrcweir#endif
67cdf0e10cSrcweir
68cdf0e10cSrcweir#endif
69cdf0e10cSrcweir
70cdf0e10cSrcweirDirectory gid_Dir_Basis_Sdk
71cdf0e10cSrcweir#if defined MACOSX
72cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
73*d5e2d776SJürgen Schmidt    DosName = "OpenOffice_SDK";
74cdf0e10cSrcweir#else
75cdf0e10cSrcweir  #if defined WNT
76cdf0e10cSrcweir    ParentID = gid_Dir_Sdkoo_Root;
77cdf0e10cSrcweir  #else
78cdf0e10cSrcweir    ParentID = gid_Dir_Ooo_Basis_Sdk;
79cdf0e10cSrcweir  #endif
80cdf0e10cSrcweir    DosName = "sdk";
81cdf0e10cSrcweir#endif
82cdf0e10cSrcweirEnd
83cdf0e10cSrcweir
84cdf0e10cSrcweir
85cdf0e10cSrcweir#if defined MACOSX
86cdf0e10cSrcweirScpAction scp_Copy_License_Txt_Sdk
87b14cb721SHerbert Dürr    Copy = "LICENSE";
88b14cb721SHerbert Dürr    Name = "LICENSE";
89cdf0e10cSrcweir    Styles = (SCPZIP_REPLACE);
90cdf0e10cSrcweir    Subdir = "LICENSEs";
91cdf0e10cSrcweirEnd
92a4309db7SHerbert DürrScpAction scp_Copy_Notice_Txt_Sdk
93b14cb721SHerbert Dürr    Copy = "NOTICE";
94b14cb721SHerbert Dürr    Name = "NOTICE";
95a4309db7SHerbert Dürr    Styles = (SCPZIP_REPLACE);
96a4309db7SHerbert Dürr    Subdir = "LICENSEs";
97a4309db7SHerbert DürrEnd
98cdf0e10cSrcweir#endif
99cdf0e10cSrcweir
100cdf0e10cSrcweir
101cdf0e10cSrcweirDirectory gid_Dir_Share_Sdk
102cdf0e10cSrcweir    ParentID = gid_Dir_Basis_Sdk;
103cdf0e10cSrcweir    DosName = "share";
104cdf0e10cSrcweirEnd
105cdf0e10cSrcweir
106cdf0e10cSrcweirDirectory gid_Dir_Share_Readme_Sdk
107cdf0e10cSrcweir    ParentID = gid_Dir_Share_Sdk;
108cdf0e10cSrcweir    DosName = "readme";
109cdf0e10cSrcweirEnd
110cdf0e10cSrcweir
111cdf0e10cSrcweir
112cdf0e10cSrcweirModule gid_Module_Root
113cdf0e10cSrcweir    Name = "sdkoo";
114cdf0e10cSrcweir    Description = "sdkoo";
115cdf0e10cSrcweir    PackageInfo = "packinfo_sdkoo.txt";
116cdf0e10cSrcweirEnd
117cdf0e10cSrcweir
11804c650f9SJürgen SchmidtFile gid_File_Txt_Notice
11904c650f9SJürgen Schmidt    TXT_FILE_BODY;
12004c650f9SJürgen Schmidt    Dir = gid_Dir_Basis_Sdk;
12104c650f9SJürgen Schmidt    Name = "NOTICE";
12204c650f9SJürgen Schmidt    Styles = (PACKED, SCPZIP_REPLACE);
12304c650f9SJürgen SchmidtEnd
12404c650f9SJürgen Schmidt
12504c650f9SJürgen SchmidtFile gid_File_Txt_License_Root
12604c650f9SJürgen Schmidt    TXT_FILE_BODY;
12704c650f9SJürgen Schmidt    Dir = gid_Dir_Basis_Sdk;
12804c650f9SJürgen Schmidt    Name = "LICENSE";
12904c650f9SJürgen Schmidt    Styles = (PACKED, SCPZIP_REPLACE);
13004c650f9SJürgen SchmidtEnd
13104c650f9SJürgen Schmidt
132cdf0e10cSrcweirFile gid_File_Txt_Readme
133cdf0e10cSrcweir    TXT_FILE_BODY;
134cdf0e10cSrcweir    Dir = gid_Dir_Share_Readme_Sdk;
135cdf0e10cSrcweir  #ifdef UNX
136cdf0e10cSrcweir    Name = "README_en-US";
137cdf0e10cSrcweir  #endif
138cdf0e10cSrcweir  #ifdef WNT
139cdf0e10cSrcweir    Name = "readme_en-US.txt";
140cdf0e10cSrcweir  #endif
141cdf0e10cSrcweir    Styles = (PACKED, SCPZIP_REPLACE);
142cdf0e10cSrcweirEnd
143cdf0e10cSrcweir
144cdf0e10cSrcweirFile gid_File_Txt_Readme_Html
145cdf0e10cSrcweir    TXT_FILE_BODY;
146cdf0e10cSrcweir    Dir = gid_Dir_Share_Readme_Sdk;
147cdf0e10cSrcweir  #ifdef UNX
148cdf0e10cSrcweir    Name = "README_en-US.html";
149cdf0e10cSrcweir  #endif
150cdf0e10cSrcweir  #ifdef WNT
151cdf0e10cSrcweir    Name = "readme_en-US.html";
152cdf0e10cSrcweir  #endif
153cdf0e10cSrcweir    Styles = (PACKED, SCPZIP_REPLACE);
154cdf0e10cSrcweirEnd
155cdf0e10cSrcweir
156cdf0e10cSrcweir
157cdf0e10cSrcweirFile gid_File_Zip_Odkexamples
158cdf0e10cSrcweir    TXT_FILE_BODY;
159cdf0e10cSrcweir    Dir = gid_Dir_Basis_Sdk;
160cdf0e10cSrcweir    Name = "odkexamples.zip";
161cdf0e10cSrcweir    Styles = (ARCHIVE,USE_INTERNAL_RIGHTS);
162cdf0e10cSrcweirEnd
163cdf0e10cSrcweir
164cdf0e10cSrcweir
165cdf0e10cSrcweirFile gid_File_Zip_Odkcommon
166cdf0e10cSrcweir    TXT_FILE_BODY;
167cdf0e10cSrcweir    Dir = gid_Dir_Basis_Sdk;
168cdf0e10cSrcweir    Name = "odkcommon.zip";
169cdf0e10cSrcweir    Styles = (ARCHIVE,USE_INTERNAL_RIGHTS);
170cdf0e10cSrcweirEnd
171cdf0e10cSrcweir
172cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
173cdf0e10cSrcweirDirectory gid_Dir_Lib_Sdk
174cdf0e10cSrcweir    Styles = (CREATE);
175cdf0e10cSrcweir    ParentID = gid_Dir_Basis_Sdk;
176cdf0e10cSrcweir    DosName = "lib";
177cdf0e10cSrcweirEnd
178cdf0e10cSrcweir#endif
179cdf0e10cSrcweir
180cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
181cdf0e10cSrcweirUnixlink gid_Unixlink_Sal_Link_Sdk
182cdf0e10cSrcweir    BIN_FILE_BODY;
183cdf0e10cSrcweir    Styles = ();
184cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_NORMAL("sal");
185cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
186cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("sal", "3");
187cdf0e10cSrcweirEnd
188cdf0e10cSrcweir#endif
189cdf0e10cSrcweir
190cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
191cdf0e10cSrcweirUnixlink gid_Unixlink_Salhelper_Link_Sdk
192cdf0e10cSrcweir    BIN_FILE_BODY;
193cdf0e10cSrcweir    Styles = ();
194cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper");
195cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
196cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3");
197cdf0e10cSrcweirEnd
198cdf0e10cSrcweir#endif
199cdf0e10cSrcweir
200cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
201cdf0e10cSrcweirUnixlink gid_Unixlink_Cppu_Link_Sdk
202cdf0e10cSrcweir    BIN_FILE_BODY;
203cdf0e10cSrcweir    Styles = ();
204cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_NORMAL("cppu");
205cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
206cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("cppu", "3");
207cdf0e10cSrcweirEnd
208cdf0e10cSrcweir#endif
209cdf0e10cSrcweir
210cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
211cdf0e10cSrcweirUnixlink gid_Unixlink_Cppuhelper_Link_Sdk
212cdf0e10cSrcweir    BIN_FILE_BODY;
213cdf0e10cSrcweir    Styles = ();
214cdf0e10cSrcweir    // Styles = (LAYERLINK);
215cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper");
216cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
217cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3");
218cdf0e10cSrcweirEnd
219cdf0e10cSrcweir#endif
220cdf0e10cSrcweir
221cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
222cdf0e10cSrcweirUnixlink gid_Unixlink_Purpenvhelper_Link_Sdk
223cdf0e10cSrcweir    BIN_FILE_BODY;
224cdf0e10cSrcweir    Styles = ();
225cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper");
226cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
227cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3");
228cdf0e10cSrcweirEnd
229cdf0e10cSrcweir#endif
230ef1ef8e6SJürgen Schmidt
231ef1ef8e6SJürgen Schmidt#ifdef MACOSX
232ef1ef8e6SJürgen SchmidtScpAction scp_Copy_Dmg_Background_Image
233ef1ef8e6SJürgen Schmidt    Copy = "osxdndinstall.png";
234ef1ef8e6SJürgen Schmidt    Name = "background.png";
235ef1ef8e6SJürgen Schmidt    UnixRights = 444;
236ef1ef8e6SJürgen Schmidt    Styles = ();
237ef1ef8e6SJürgen Schmidt    Subdir = ".background";
238ef1ef8e6SJürgen SchmidtEnd
239ef1ef8e6SJürgen Schmidt
240ef1ef8e6SJürgen SchmidtScpAction scp_Copy_Ds_Store
241ef1ef8e6SJürgen Schmidt    Copy = "DS_Store_SDK";
242ef1ef8e6SJürgen Schmidt#    PatchCopy = "DS_Store_Patch";
243ef1ef8e6SJürgen Schmidt    Name = ".DS_Store";
244ef1ef8e6SJürgen Schmidt    UnixRights = 444;
245ef1ef8e6SJürgen Schmidt    Styles = ();
246ef1ef8e6SJürgen SchmidtEnd
247ef1ef8e6SJürgen Schmidt#endif
248