Difference between revisions of "Stellarium"

From GrunchWiki
Jump to navigation Jump to search
(Created page with "<nowiki>;--------------------------------------------</nowiki> *<nowiki>##</nowiki> ITEM "Stellarium" *<nowiki>##</nowiki> DATE "25.08.2011" *<nowiki>##</nowiki> ...")
 
(1.16)
 
Line 4: Line 4:
 
*<nowiki>##</nowiki> DESCRIPTION  "A virtual planetarium on your computer.*N*NDisplays realistic sky views for any place and time. Contains many informations about stars, nebulas and other objects."
 
*<nowiki>##</nowiki> DESCRIPTION  "A virtual planetarium on your computer.*N*NDisplays realistic sky views for any place and time. Contains many informations about stars, nebulas and other objects."
 
*<nowiki>##</nowiki> APPTYPE      "APPLICATION"
 
*<nowiki>##</nowiki> APPTYPE      "APPLICATION"
*<nowiki>##</nowiki> DEPENDENCIES "LIB_PowerSDL"
+
*<nowiki>##</nowiki> DEPENDENCIES "[[LIB_PowerSDL]]"
 
*<nowiki>##</nowiki> APPAUTHOR    "Fabien Coeurjoly <fabien.coeurjoly&wanadoo$fr>"
 
*<nowiki>##</nowiki> APPAUTHOR    "Fabien Coeurjoly <fabien.coeurjoly&wanadoo$fr>"
 
*<nowiki>##</nowiki> APPWEBPAGE  "http://www.stellarium.org/"
 
*<nowiki>##</nowiki> APPWEBPAGE  "http://www.stellarium.org/"
Line 16: Line 16:
 
*<nowiki>##</nowiki> VERSIONCHECK "{CHECKNAME}"
 
*<nowiki>##</nowiki> VERSIONCHECK "{CHECKNAME}"
 
*<nowiki>##</nowiki> INSTALL
 
*<nowiki>##</nowiki> INSTALL
  LhA x "{DOWNLOADDIR}{ARCHIVE}" "{TEMPDIR}"
+
  {STANDARDBACKUP}
  If EXISTS "{INSTALLDIR}{NAME}/{NAME}.info"
+
{STANDARDEXTRACT}
  Delete "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}/stellarium.info" FORCE
+
  If EXISTS "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}"
 +
  Rename "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}" "{TEMPDIR}{NAME}"
 
  EndIf
 
  EndIf
  If EXISTS "{TEMPDIR}stellarium"
+
  If EXISTS "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}.info"
  Rename "{TEMPDIR}stellarium" "{TEMPDIR}Stellarium"
+
  Rename "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}.info" "{TEMPDIR}{NAME}.info"
 
  EndIf
 
  EndIf
  If EXISTS "{TEMPDIR}stellarium.info"
+
  If EXISTS "{TEMPDIR}{NAME}/stellarium"
  Rename "{TEMPDIR}stellarium.info" "{TEMPDIR}Stellarium.info"
+
  Rename "{TEMPDIR}{NAME}/stellarium" "{TEMPDIR}{NAME}/{NAME}"
 
  EndIf
 
  EndIf
  Copy "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}/#?" "{INSTALLDIR}{NAME}" ALL
+
  If EXISTS "{TEMPDIR}{NAME}/stellarium.info"
  If NOT EXISTS "{INSTALLDIR}{NAME}.info"
+
Rename "{TEMPDIR}{NAME}/stellarium.info" "{TEMPDIR}{NAME}/{NAME}.info"
  If EXISTS "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}.info"
+
EndIf
  Copy "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}.info" "{INSTALLDIR}{NAME}.info"
+
  If NOT EXISTS "{INSTALLDIR}{NAME}/{NAME}.info"
Else
+
  If NOT EXISTS "{TEMPDIR}{NAME}/{NAME}.info"
GTooltype "{INSTALLDIR}{NAME}" TYPE WBDRAWER
+
  GDownload "http://faculty.plattsburgh.edu/edwin.vega/images/stellarium-logo.png" TO "{TEMPDIR}{NAME}/{NAME}.info"
 
  EndIf
 
  EndIf
 
  EndIf
 
  EndIf
 +
{STANDARDCOPY}
 
  Echo "VERSION: {VERSION}.{REVISION}.{BUILD}" TO "{CHECKNAME}"
 
  Echo "VERSION: {VERSION}.{REVISION}.{BUILD}" TO "{CHECKNAME}"
If NOT EXISTS "{INSTALLDIR}{NAME}/{NAME}.info"
 
GDownload "http://faculty.plattsburgh.edu/edwin.vega/images/stellarium-logo.png" TO "{INSTALLDIR}{NAME}/{NAME}.info"
 
EndIf
 
 
*<nowiki>##</nowiki> INSTALL END
 
*<nowiki>##</nowiki> INSTALL END
 
*<nowiki>##</nowiki> UNINSTALL
 
*<nowiki>##</nowiki> UNINSTALL
  Delete "{INSTALLDIR}{NAME}"     FORCE ALL
+
{STANDARDBACKUP}
  Delete "{INSTALLDIR}{NAME}.info" FORCE
+
  Delete FORCE "{INSTALLDIR}{NAME}" ALL
  Delete "{CHECKNAME}"
+
  Delete FORCE "{INSTALLDIR}{NAME}.info"
 +
  Delete FORCE "{CHECKNAME}"
 
*<nowiki>##</nowiki> UNINSTALL END
 
*<nowiki>##</nowiki> UNINSTALL END
 +
*<nowiki>##</nowiki> ITEM END
  
 
[[Category:APPLICATION]]
 
[[Category:APPLICATION]]

Latest revision as of 23:16, 26 October 2011

;--------------------------------------------

{STANDARDBACKUP}
{STANDARDEXTRACT}
If EXISTS "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}"
Rename "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}" "{TEMPDIR}{NAME}"
EndIf
If EXISTS "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}.info"
Rename "{TEMPDIR}stellarium-{VERSION}.{REVISION}.{BUILD}.info" "{TEMPDIR}{NAME}.info"
EndIf
If EXISTS "{TEMPDIR}{NAME}/stellarium"
Rename "{TEMPDIR}{NAME}/stellarium" "{TEMPDIR}{NAME}/{NAME}"
EndIf
If EXISTS "{TEMPDIR}{NAME}/stellarium.info"
Rename "{TEMPDIR}{NAME}/stellarium.info" "{TEMPDIR}{NAME}/{NAME}.info"
EndIf
If NOT EXISTS "{INSTALLDIR}{NAME}/{NAME}.info"
If NOT EXISTS "{TEMPDIR}{NAME}/{NAME}.info"
GDownload "http://faculty.plattsburgh.edu/edwin.vega/images/stellarium-logo.png" TO "{TEMPDIR}{NAME}/{NAME}.info"
EndIf
EndIf
{STANDARDCOPY}
Echo "VERSION: {VERSION}.{REVISION}.{BUILD}" TO "{CHECKNAME}"
  • ## INSTALL END
  • ## UNINSTALL
{STANDARDBACKUP}
Delete FORCE "{INSTALLDIR}{NAME}" ALL
Delete FORCE "{INSTALLDIR}{NAME}.info"
Delete FORCE "{CHECKNAME}"
  • ## UNINSTALL END
  • ## ITEM END