echo >$F "Title ${PKG_NAME}"
echo >>$F "Version ${PKG_VERSION}"
echo >>$F "Description ${PKG_VERSION}"
+
echo >>$F "Require Reboot NO" # TODO: consolidate
echo >>$F "OverwritePermissions NO" # TODO: consolidate
+ echo >>$F "UseUserMask NO" # TODO: consolidate
+ echo >>$F "RootVolumeOnly NO" # TODO: consolidate
echo >>$F "NeedsAuthorization YES" # TODO: consolidate
echo >>$F "DefaultLocation /" # TODO: consolidate
echo >>$F "Relocatable YES" # TODO: consolidate
echo ".. done."
}
+function genPkgInfoFile() {
+ F="${PKG_DIR}/Contents/PkgInfo"
+ echo -n " gen PkgInfo: $F .."
+ echo >$F "pmkrpkg1"
+ echo ".. done."
+}
+
+function genPkgVersionFile() {
+ F="${PKG_RSRC_DIR}/package_version"
+ echo -n " gen package_version: $F .."
+ echo >$F "major: 4"
+ echo >>$F "minor: 5"
+ echo ".. done."
+}
+
# ****************************** resources ****************************
genInfoFile;
genBundleVersions;
genEnDescription;
+genPkgInfoFile;
+genPkgVersionFile;
copyBackgroundImage;
copyLicenseFile;