Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
b56bf2b9
Commit
b56bf2b9
authored
Jul 31, 2018
by
Ed Reel
Committed by
Chris Thurber
Jul 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tilp from 1.18 to 1.19 (#2497)
* Update tilp from 1.18 to 1.19 * Add pre-built binaries again
parent
cc086cf2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
12 deletions
+22
-12
packages/tilp.rb
packages/tilp.rb
+22
-12
No files found.
packages/tilp.rb
View file @
b56bf2b9
require
'package'
require
'package'
class
Tilp
<
Package
class
Tilp
<
Package
description
'TiLP is a linking program for Texas Instruments\' graphing calculators.'
description
'TiLP is a linking program for Texas Instruments\' graphing calculators.'
homepage
'http://lpg.ticalc.org/prj_tilp/'
homepage
'http://lpg.ticalc.org/prj_tilp/'
version
'1.1
8
'
version
'1.1
9
'
source_url
'https://www.ticalc.org/pub/unix/tilp.tar.gz'
source_url
'https://www.ticalc.org/pub/unix/tilp.tar.gz'
source_sha256
'6ba834f7fdbbce9818ccaa864222aed2d1688b210e9ff2c59576d1fde5159cd7'
source_sha256
'6ba834f7fdbbce9818ccaa864222aed2d1688b210e9ff2c59576d1fde5159cd7'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/tilp-1.19-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/tilp-1.19-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/tilp-1.19-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/tilp-1.19-chromeos-x86_64.tar.xz'
,
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'db30e53d1c32e60d62238c7185059692ae43f7514026f965cb4e3f64b8f11c95'
,
armv7l:
'db30e53d1c32e60d62238c7185059692ae43f7514026f965cb4e3f64b8f11c95'
,
i686:
'f21fa9762e55d14383c96d9ea25fc22d69aeb26fdaacdbfc7482132d29872f83'
,
x86_64:
'607e83053d566f29a5daf692d01fe5fc66d371e176aa89bc97a4c75cdcbe3c90'
,
})
})
depends_on
'libarchive'
depends_on
'libarchive'
...
@@ -19,13 +26,16 @@ class Tilp < Package
...
@@ -19,13 +26,16 @@ class Tilp < Package
def
self
.
install
def
self
.
install
system
'wget http://lpg.ticalc.org/prj_tilp/download/install_tilp.sh'
system
'wget http://lpg.ticalc.org/prj_tilp/download/install_tilp.sh'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'install_tilp.sh'
)
)
==
'6baf4b79100a938c2c36218d50c30a39c2beec17490784e3623d4aeebe9931ee'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'install_tilp.sh'
)
)
==
'6baf4b79100a938c2c36218d50c30a39c2beec17490784e3623d4aeebe9931ee'
system
"PREFIX=
#{
CREW_PREFIX
}
SRCDIR=
#{
CREW_DEST_PREFIX
}
/share bash install_tilp.sh"
system
"sed -i '243iif [
\"
x
\$
LIBDIR
\"
=
\"
x
\"
]; then' install_tilp.sh"
system
"sed -i '250ifi' install_tilp.sh"
system
"PREFIX=
#{
CREW_PREFIX
}
LIBDIR=
#{
CREW_LIB_PREFIX
}
SRCDIR=
#{
CREW_DEST_PREFIX
}
/share bash install_tilp.sh"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/include"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/include"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/appdata"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/appdata"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/applications"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/applications"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/locale"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/locale/de/LC_MESSAGES"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/locale/fr/LC_MESSAGES"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/mime/packages"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/mime/packages"
system
"cp
#{
CREW_PREFIX
}
/bin/gfm
#{
CREW_DEST_PREFIX
}
/bin"
system
"cp
#{
CREW_PREFIX
}
/bin/gfm
#{
CREW_DEST_PREFIX
}
/bin"
system
"cp
#{
CREW_PREFIX
}
/bin/tilp
#{
CREW_DEST_PREFIX
}
/bin"
system
"cp
#{
CREW_PREFIX
}
/bin/tilp
#{
CREW_DEST_PREFIX
}
/bin"
...
@@ -43,13 +53,13 @@ class Tilp < Package
...
@@ -43,13 +53,13 @@ class Tilp < Package
system
"cp
#{
CREW_PREFIX
}
/share/applications/gfm.desktop
#{
CREW_DEST_PREFIX
}
/share/applications"
system
"cp
#{
CREW_PREFIX
}
/share/applications/gfm.desktop
#{
CREW_DEST_PREFIX
}
/share/applications"
system
"cp
#{
CREW_PREFIX
}
/share/applications/tilp.desktop
#{
CREW_DEST_PREFIX
}
/share/applications"
system
"cp
#{
CREW_PREFIX
}
/share/applications/tilp.desktop
#{
CREW_DEST_PREFIX
}
/share/applications"
system
"cp -r
#{
CREW_PREFIX
}
/share/gfm
#{
CREW_DEST_PREFIX
}
/share"
system
"cp -r
#{
CREW_PREFIX
}
/share/gfm
#{
CREW_DEST_PREFIX
}
/share"
system
"cp
#{
CREW_PREFIX
}
/share/locale/de/LC_MESSAGES/libticalcs2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/de/LC_MESSAGES/libticalcs2.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/de/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/locale/de/LC_MESSAGES/tilp2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/de/LC_MESSAGES/tilp2.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/de/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/gfm.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/gfm.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/fr/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/libticables2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/libticables2.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/fr/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/libticalcs2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/libticalcs2.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/fr/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/libtifiles2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/libtifiles2.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/fr/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/tilp2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/tilp2.mo
#{
CREW_DEST_PREFIX
}
/share/locale
/fr/LC_MESSAGES
"
system
"cp
#{
CREW_PREFIX
}
/share/mime/packages/tilp.xml
#{
CREW_DEST_PREFIX
}
/share/mime/packages"
system
"cp
#{
CREW_PREFIX
}
/share/mime/packages/tilp.xml
#{
CREW_DEST_PREFIX
}
/share/mime/packages"
system
"cp -r
#{
CREW_PREFIX
}
/share/tilp2
#{
CREW_DEST_PREFIX
}
/share"
system
"cp -r
#{
CREW_PREFIX
}
/share/tilp2
#{
CREW_DEST_PREFIX
}
/share"
system
"rm -rf
#{
CREW_DEST_PREFIX
}
/share/tilp"
system
"rm -rf
#{
CREW_DEST_PREFIX
}
/share/tilp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment