| | 50 | == Make depot for HP-UX software distribution == |
| | 51 | |
| | 52 | * Create pb psf(product specification file) |
| | 53 | {{{ |
| | 54 | #vi pb.psf |
| | 55 | depot |
| | 56 | layout_version 1.0 |
| | 57 | |
| | 58 | vendor |
| | 59 | tag HP |
| | 60 | description HP EMEA CME solution center |
| | 61 | title HP Intel Redhat Lab |
| | 62 | |
| | 63 | category |
| | 64 | tag package_tool |
| | 65 | description packags source code to different OS platform |
| | 66 | |
| | 67 | product |
| | 68 | tag pb |
| | 69 | architecture HP-UX_B.11.23_32/64 |
| | 70 | category package_tool |
| | 71 | # copyright <copyright |
| | 72 | description "package tool to distribute source code for |
| | 73 | different OS platform" |
| | 74 | directory /opt/pb |
| | 75 | is_locatable false |
| | 76 | is_patch false |
| | 77 | machine_type * |
| | 78 | os_name HP-UX |
| | 79 | os_release ?.11.23.* |
| | 80 | revision 0.9.10 |
| | 81 | title project-builder |
| | 82 | vendor_tag HP |
| | 83 | fileset |
| | 84 | tag command |
| | 85 | architecture HP-UX_B.11.23_32/64 |
| | 86 | # prerequisites |
| | 87 | directory ./blib/bin=/opt/pb/bin |
| | 88 | file pb |
| | 89 | file pbg |
| | 90 | file pbvi |
| | 91 | directory ./blib/lib/ProjectBuilder=/opt/perl_32/lib/5.8.8/ProjectBuilder |
| | 92 | file CMS.pm |
| | 93 | file Changelog.pm |
| | 94 | file Env.pm |
| | 95 | file Filter.pm |
| | 96 | file Version.pm |
| | 97 | directory ./blib/man1=/usr/share/man/man1 |
| | 98 | file pb.1 |
| | 99 | directory ./blib/man3=/usr/share/man/man3 |
| | 100 | file ProjectBuilder::CMS.3 |
| | 101 | file ProjectBuilder::Changelog.3 |
| | 102 | file ProjectBuilder::Env.3 |
| | 103 | file ProjectBuilder::Filter.3 |
| | 104 | }}} |
| | 105 | * Package pb as HPUX-SD format based on its psf file |
| | 106 | {{{ |
| | 107 | #swpackage –vv –s ./pb.psf –d /tmp/pb.depot |
| | 108 | #swreg -l depot /tmp/pb.depot |
| | 109 | }}} |
| | 110 | * install pb.depot on HPUX platform (Make sure the swinstall option “make install incompatible software in target” is true.) |
| | 111 | {{{ |
| | 112 | #swinstall -s /temp/pb.depot -x allow_incompatible=true |
| | 113 | }}} |