change to new opsi builder
This commit is contained in:
parent
8fe5c6ccd2
commit
0e67d55d07
@ -1 +0,0 @@
|
||||
1469dd62bd69a7a8a9d2372c41645277b8a271f1 /usr/portage/distfiles/12818.gif
|
1
220px-OCR-A_SP.svg.png.sha1sum
Normal file
1
220px-OCR-A_SP.svg.png.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
1746d5dc1dd6ab293db87f77734186f80aaeef98 /home/mario/.opsi-dist-cache/font.ocrab-0.2//220px-OCR-A_SP.svg.png
|
@ -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.ocrab"
|
||||
Set $MinimumSpace$ = "10 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\Ocr"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\Ocr"
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\OcrAB"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\OcrAB"
|
||||
; ----------------------------------------------------------------
|
||||
|
||||
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"
|
||||
|
@ -3,6 +3,8 @@
|
||||
############################
|
||||
VENDOR="ansuz.sooke.bc.ca"
|
||||
PN="font.ocrab"
|
||||
NAME="OCR Free Font Version A & B"
|
||||
DESCRIPTION="OCR Free Font Version A & B"
|
||||
VERSION="0.2"
|
||||
RELEASE="3"
|
||||
PRIORITY="0"
|
||||
@ -14,8 +16,8 @@ TYPE="public"
|
||||
|
||||
#
|
||||
|
||||
DL_FILE[0]="12818.gif"
|
||||
DL_SOURCE[0]="http://image.linotype.com/samples/text/12818.gif"
|
||||
DL_FILE[0]="220px-OCR-A_SP.svg.png"
|
||||
DL_SOURCE[0]="http://upload.wikimedia.org/wikipedia/commons/thumb/9/93/OCR-A_SP.svg/220px-OCR-A_SP.svg.png"
|
||||
|
||||
DL_FILE[1]="ocr-${VERSION}.zip"
|
||||
DL_SOURCE[1]="http://jaist.dl.sourceforge.jp/tsukurimashou/56948/ocr-${VERSION}.zip"
|
||||
|
Loading…
Reference in New Issue
Block a user