globals.pm (9780544f) globals.pm (dfa12748)
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

--- 111 unchanged lines hidden (view full) ---

120 $compiler = "";
121 $pro = 0;
122 $dounzip = 1;
123 $languages_defined_in_productlist = 0;
124 $setupscript_defined_in_productlist = 0;
125 $islinux = 0;
126 $issolaris = 0;
127 $ismacosx = 0;
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

--- 111 unchanged lines hidden (view full) ---

120 $compiler = "";
121 $pro = 0;
122 $dounzip = 1;
123 $languages_defined_in_productlist = 0;
124 $setupscript_defined_in_productlist = 0;
125 $islinux = 0;
126 $issolaris = 0;
127 $ismacosx = 0;
128 $isos2 = 0;
128 $iswindowsbuild = 0;
129 $islinuxbuild = 0;
130 $islinuxrpmbuild = 0;
131 $islinuxdebbuild = 0;
132 $islinuxintelrpmbuild = 0;
133 $islinuxppcrpmbuild = 0;
134 $islinuxinteldebbuild = 0;
135 $islinuxppcdebbuild = 0;

--- 372 unchanged lines hidden (view full) ---

508 $isunix = 0;
509 $iswin = 1;
510 $archiveformat = ".zip";
511 %savedmapping = ();
512 %savedrevmapping = ();
513 %savedrev83mapping = ();
514 %saved83dirmapping = ();
515 }
129 $iswindowsbuild = 0;
130 $islinuxbuild = 0;
131 $islinuxrpmbuild = 0;
132 $islinuxdebbuild = 0;
133 $islinuxintelrpmbuild = 0;
134 $islinuxppcrpmbuild = 0;
135 $islinuxinteldebbuild = 0;
136 $islinuxppcdebbuild = 0;

--- 372 unchanged lines hidden (view full) ---

509 $isunix = 0;
510 $iswin = 1;
511 $archiveformat = ".zip";
512 %savedmapping = ();
513 %savedrevmapping = ();
514 %savedrev83mapping = ();
515 %saved83dirmapping = ();
516 }
517 elsif ( $plat =~ /os2/i )
518 {
519 print "Setup OS/2 platform\n";
520 $zippath = "zip"; # Has to be in the path: /usr/bin/zip
521 $checksumfile = "so_checksum";
522 $unopkgfile = "unopkg.exe";
523 $separator = "/";
524 $pathseparator = "\:";
525 $libextension = "\.dll";
526 $isunix = 0;
527 $iswin = 0;
528 $isos2 = 1;
529 $archiveformat = ".zip";
530 }
516 else
517 {
518 $zippath = "zip"; # Has to be in the path: /usr/bin/zip
519 $checksumfile = "so_checksum";
520 $unopkgfile = "unopkg";
521 $separator = "/";
522 $pathseparator = "\:";
523 if ( $plat =~ /darwin/i )

--- 11 unchanged lines hidden (view full) ---

535 # WRAPCMD is gone - remove this and all related
536 # $installer::globals::wrapcmd entries
537 $wrapcmd = "";
538
539 if ( $plat =~ /linux/i ) { $islinux = 1; }
540 if ( $plat =~ /kfreebsd/i ) { $islinux = 1; }
541 if ( $plat =~ /solaris/i ) { $issolaris = 1; }
542 if ( $plat =~ /darwin/i ) { $ismacosx = 1; }
531 else
532 {
533 $zippath = "zip"; # Has to be in the path: /usr/bin/zip
534 $checksumfile = "so_checksum";
535 $unopkgfile = "unopkg";
536 $separator = "/";
537 $pathseparator = "\:";
538 if ( $plat =~ /darwin/i )

--- 11 unchanged lines hidden (view full) ---

550 # WRAPCMD is gone - remove this and all related
551 # $installer::globals::wrapcmd entries
552 $wrapcmd = "";
553
554 if ( $plat =~ /linux/i ) { $islinux = 1; }
555 if ( $plat =~ /kfreebsd/i ) { $islinux = 1; }
556 if ( $plat =~ /solaris/i ) { $issolaris = 1; }
557 if ( $plat =~ /darwin/i ) { $ismacosx = 1; }
558 if ( $plat =~ /os2/i ) { $isos2 = 1; }
543
544 # ToDo: Needs to be expanded for additional platforms
545
546}
547
5481;
559
560 # ToDo: Needs to be expanded for additional platforms
561
562}
563
5641;