Home / buildaix-1.0.0
Name Modified Size InfoDownloads / Week
Parent folder
aixtools.buildaix.powerpc.1.0.0.I 2012-03-06 36.4 kB
README 2012-03-06 2.8 kB
Totals: 2 Items   39.2 kB 0
#   Copyright 2012 -- Michael Felt
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

This package attempts to automate the building of standard OpenSource
projects as an mkinstallp image/fileset
When successful, the image is palced in the Project tree in
${BASE}/installp/ppc. The template created, as well as log files
are stored in $BASE/build/aix.
Note: 'make clean' and make 'distclean' are not buildaix aware
and shall not remove these directories. You may remove them at anytime
as buildaix scripts are outside of the project.

Customization:
1) edit /opt/aixinfo.ksh for global changes, CFLAGS, CC, etc.
2) create ${BASE}/build/aix/aixinfo.env and/or ${BASE}/build/aixinfo.ksh
for project specific processing. Think of these two files
as if /etc/environment and /etc/profile had been specifically written for
the project

CONFIGURE and MAKE
If the default ./configure command in buildaix does not succeed
run ./configure manually until you have a successful configure run.
Then execute buildaix as the presence of a Makefile in the project root
will cause the script to skip calling configure

MAKE DESTDIR=${TEMPDIR} install
After make has completed, "make DESTDIR=${TEMPDIR} install" is called
to install the package in a scratch area rather than on the development
system.
If this fails, our recommendation is to use the GNU coreutils install
command. Adjust your PATH variable to be sure it is seen.

MKINSTALLP
The mkinstallp.ksh script works from the following assumptions:
/opt is the normal prefix (rather than /usr/local)
/usr/bin, /usr/sbin, /usr/lib, /usr/include are directories for symbolic links
into /opt
NOTE: any files/directories in ${TEMPDIR}/usr/local are removed
my mkinstallp.ksh

These files are located in the USR part of the installp packaging

/etc is used for configuration
/var is used for modifiable data

both /etc and /var are considered to be the ROOT part of the fileset

/opt, /var, /etc, /usr form the PKG.PROGRAM.rte (runtime environment) fileset
except /usr/share/man is put into a seperate fileset package
- aixtools.${PACKAGE}.{VERSION}.man.en_US by default.

NOTE: buildaix makes no presumptions about prequistites for the PACKAGE
built. A later release will provide a tool to update the template
and already built .I file with prequistite information.
Source: README, updated 2012-03-06