Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20166 Details for
Bug 31971
GEMPAK Meteorological Plotting and Analysis Package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gempak-5.6j.ebuild
gempak-5.6j.ebuild (text/plain), 3.43 KB, created by
Donald Giuliano
on 2003-11-03 01:30:17 UTC
(
hide
)
Description:
gempak-5.6j.ebuild
Filename:
MIME Type:
Creator:
Donald Giuliano
Created:
2003-11-03 01:30:17 UTC
Size:
3.43 KB
patch
obsolete
>DESCRIPTION="GEMPAK Meteorological Plotting and Analysis Package" >HOMEPAGE="http://www.unidata.ucar.edu/packages/gempak" >LICENSE="AS-IS (see License disclaimer in /usr/local/gempak/README.License-disclaimer after install is complete)" > >RDEPEND="" > >DEPEND="${RDEPEND} > x11-libs/openmotif > !=x11-libs/lesstif" > #!=sys-devel/gcc-3.3" > >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc" > > >MY_PV="${PV:0:${#PV}-1}.${PV:${#PV}-1}" >RESTRICT="fetch" >SRC_URI="" >SRC_FILE="gempak_upc${MY_PV}.tar.gz" >S=${WORKDIR}/${PN}-${MY_PV} > >pkg_nofetch() { > einfo "" > einfo "You must download the GEMPAK source code before proceeding." > einfo "Please download ${SRC_FILE}" > einfo "from ${HOMEPAGE} to ${DISTDIR}." > einfo "" >} > >src_unpack() { > export CONFIGDIR=${S}/config > > mkdir -p ${S} > cd ${S} > > unpack ${SRC_FILE} || die > > # Insert a new Makeinc.common with the correct paths. I suppose I > # could get fancy with sed here, but this seems to serve the purpose > # just fine. > cp ${FILESDIR}/Makeinc.common.1 ${CONFIGDIR}/Makeinc.common > echo "NAWIPS = ${S}" >> ${CONFIGDIR}/Makeinc.common > cat ${FILESDIR}/Makeinc.common.2 >> ${CONFIGDIR}/Makeinc.common > > # This is necessary because the paths to some bitmaps are hard-coded. > patch -p0 ${S}/comet/garp/gui/gui.c < ${FILESDIR}/gui.c.patch >} > >src_compile() { > # All GEMPAK paths need to be unset before attempting to compile. > for i in `cat ${FILESDIR}/unset_vars` > do > unset $i > done > > # These GEMPAK paths must be set to their new values before > # compiling. > export CONFIGDIR=${S}/config > export GARPHOME=${S}/comet/garp > export NA_OS=linux > > # This is necessary because otherwise it freaks out due to a missing > # lib/linux. > mkdir -p lib/linux > > make || die >} > >src_install() { > # All GEMPAK paths need to be unset before attempting to compile. > for i in `cat ${FILESDIR}/unset_vars` > do > unset $i > done > > # These GEMPAK paths must be set to their new values before > # compiling. > export CONFIGDIR=${S}/config > export GARPHOME=${S}/comet/garp > export NA_OS=linux > > make install || die > > # Create the directory to install GEMPAK to. > dodir usr/local/gempak > > # Install the script to create the GEMPAK skeleton data directory > # automatically. > dobin ${FILESDIR}/gemdatadir_create > > # Put all the necessary files in the correct place. > cp -Rf ${S}/* ${D}/usr/local/gempak > cp ${FILESDIR}/Gemenviron.bash ${D}/usr/local/gempak > cp ${FILESDIR}/Gemenviron.tcsh ${D}/usr/local/gempak >} > >pkg_postinst() { > einfo "" > einfo "In order to use GEMPAK, you'll need to run the command" > einfo "\"source /usr/local/gempak/Gemenviron.bash\", which will" > einfo "set the appropriate environmental variables. If you" > einfo "prefer tcsh, a Gemenviron.tcsh file is included as well." > einfo "" > einfo "In order to use some of the GUI GEMPAK tools (such as Garp)," > einfo "it is necessary to create the requisite directory hierarchy" > einfo "in \$GEMDATA. To auto-create a skeleton directory hierarchy," > einfo "run the script \"gemdatadir_create \$GEMDATA\", where \$GEMDATA" > einfo "is your directory of choice. Note that the default \$GEMDATA" > einfo "directory is /data/gempak, and if you wish to use something" > einfo "different you will have to edit the Gemenviron.bash and/or" > einfo "Gemenviron.tcsh files to reflect the change." > einfo "" > einfo "NOTE: Some of the programs in the GEMPAK suite have paths" > einfo "hardcoded into the executables, so it is ill-advised to" > einfo "start playing around with paths unless you really know" > einfo "what you're doing." > einfo "" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 31971
:
19767
|
20143
|
20147
|
20148
|
20149
|
20158
|
20159
|
20160
|
20161
|
20162
|
20164
|
20165
|
20166
|
20227
|
20228
|
20229
|
20230
|
20245
|
20246
|
20247
|
20504
|
20508
|
20509
|
20511
|
20557
|
20564
|
20565
|
20566
|
21753
|
21754
|
21767
|
21768
|
21779
|
21780
|
21781
|
23219