アプリケーションパッケージ開発者ガイド

パッケージの互換性と依存関係の定義

このケーススタディーのパッケージでは、パッケージの互換性と依存関係を定義したり、インストール中に著作権に関するメッセージを表示したりするために、省略可能な情報ファイルを使用しています。

手法

このケーススタディーでは、次の手法の実例を示します。

これらのファイルについては、「情報ファイルの作成」を参照してください。

アプローチ

この説明での必要条件を満たすには、次の作業を行う必要があります。

ケーススタディーで使用するファイル

pkginfo ファイル

PKG=case3
NAME=Case Study #3
CATEGORY=application
BASEDIR=/opt
ARCH=SPARC
VERSION=Version 3.0
CLASSES=none

copyright ファイル

Copyright (c) 1999 company_name
All Rights Reserved.
THIS PACKAGE CONTAINS UNPUBLISHED PROPRIETARY SOURCE CODE OF
company_name.
The copyright notice above does not evidence any
actual or intended publication of such source code

compver ファイル

Version 3.0
Version 2.3
Version 2.2
Version 2.1
Version 2.1.1
Version 2.1.3
Version 1.7

depend ファイル

P acu Advanced C Utilities
Issue 4 Version 1
P cc C Programming Language
Issue 4 Version 1
P dfm Directory and File Management Utilities
P ed Editing Utilities
P esg Extended Software Generation Utilities
Issue 4 Version 1
P graph Graphics Utilities
P rfs Remote File Sharing Utilities
Issue 1 Version 1
P rx Remote Execution Utilities
P sgs Software Generation Utilities
Issue 4 Version 1
P shell Shell Programming Utilities
P sys System Header Files
Release 3.1