update to new opsi builder

This commit is contained in:
Mario Fetka 2013-03-11 19:44:32 +01:00
parent 99e672549d
commit 34ff8fc85b
4 changed files with 11 additions and 10 deletions

1
C64_logo.JPG.sha1sum Normal file
View File

@ -0,0 +1 @@
a462b4e5c895740ef6f420123605db83ec9d2494 /home/mario/.opsi-dist-cache/font.commodore64-1.10//C64_logo.JPG

View File

@ -4,7 +4,7 @@
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.8.6"
requiredWinstVersion >= "4.11.2.6"
DefVar $ProductId$
DefVar $MinimumSpace$
@ -37,11 +37,10 @@ Set $LogDir$ = "%SystemDrive%\tmp"
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "font.commodore64"
Set $MinimumSpace$ = "10 MB"
; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFiles32Dir%\Commodore"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Commodore"
Set $InstallDir32$ = "%ProgramFiles32Dir%\Commodore64"
Set $InstallDir64$ = "%ProgramFiles64Dir%\Commodore64"
; ----------------------------------------------------------------
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
@ -50,12 +49,12 @@ if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
comment "installing"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " 32 Bit..."
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..."
comment "Copy files"
Files_install_32 /32Bit
comment "Start setup program"
@ -68,7 +67,7 @@ else
endif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " 64 Bit..."
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..."
comment "Copy files"
Files_install_64 /64Bit
comment "Start setup program"

View File

@ -3,6 +3,8 @@
############################
VENDOR="goldparser.org"
PN="font.commodore64"
NAME="Commodore Alike Free Font"
DESCRIPTION="Commodore Alike Free Font"
VERSION="1.10"
RELEASE="3"
PRIORITY="0"
@ -14,8 +16,8 @@ TYPE="public"
#
DL_FILE[0]="commodore.png"
DL_SOURCE[0]="http://www.gamesaktuell.de/screenshots/original/2011/04/commodore.png"
DL_FILE[0]="C64_logo.JPG"
DL_SOURCE[0]="http://images2.wikia.nocookie.net/__cb20070413171159/egamia/images/2/21/C64_logo.JPG"
DL_FILE[1]="Commodore-64-Fonts.zip"
DL_SOURCE[1]="http://goldparser.org/misc/Commodore-64-Fonts.zip"

View File

@ -1 +0,0 @@
c2af99539aabd1bd52f4b714b96c3c2e7c6b02fd /usr/portage/distfiles/commodore.png