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
8ee8c055
Commit
8ee8c055
authored
Jul 30, 2018
by
Chris Thurber
Committed by
GitHub
Jul 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2492 from uberhacker/add-tilp-package
Add tilp package
parents
7d8b15a7
07883405
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
packages/tilp.rb
packages/tilp.rb
+57
-0
No files found.
packages/tilp.rb
0 → 100644
View file @
8ee8c055
require
'package'
class
Tilp
<
Package
description
'TiLP is a linking program for Texas Instruments\' graphing calculators.'
homepage
'http://lpg.ticalc.org/prj_tilp/'
version
'1.18'
source_url
'https://www.ticalc.org/pub/unix/tilp.tar.gz'
source_sha256
'6ba834f7fdbbce9818ccaa864222aed2d1688b210e9ff2c59576d1fde5159cd7'
binary_url
({
})
binary_sha256
({
})
depends_on
'libarchive'
depends_on
'libglade'
depends_on
'libusb'
def
self
.
install
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'
system
"PREFIX=
#{
CREW_PREFIX
}
SRCDIR=
#{
CREW_DEST_PREFIX
}
/share bash install_tilp.sh"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/include"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/appdata"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/applications"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/locale"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/mime/packages"
system
"cp
#{
CREW_PREFIX
}
/bin/gfm
#{
CREW_DEST_PREFIX
}
/bin"
system
"cp
#{
CREW_PREFIX
}
/bin/tilp
#{
CREW_DEST_PREFIX
}
/bin"
system
"cp -r
#{
CREW_PREFIX
}
/include/tilp2
#{
CREW_DEST_PREFIX
}
/include"
system
"cp
#{
CREW_LIB_PREFIX
}
/libticables2.so*
#{
CREW_DEST_LIB_PREFIX
}
"
system
"cp
#{
CREW_LIB_PREFIX
}
/libticalcs2.so*
#{
CREW_DEST_LIB_PREFIX
}
"
system
"cp
#{
CREW_LIB_PREFIX
}
/libticonv.so*
#{
CREW_DEST_LIB_PREFIX
}
"
system
"cp
#{
CREW_LIB_PREFIX
}
/libtifiles2.so*
#{
CREW_DEST_LIB_PREFIX
}
"
system
"cp
#{
CREW_LIB_PREFIX
}
/pkgconfig/ticables2.pc
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
system
"cp
#{
CREW_LIB_PREFIX
}
/pkgconfig/ticalcs2.pc
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
system
"cp
#{
CREW_LIB_PREFIX
}
/pkgconfig/ticonv.pc
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
system
"cp
#{
CREW_LIB_PREFIX
}
/pkgconfig/tifiles2.pc
#{
CREW_DEST_LIB_PREFIX
}
/pkgconfig"
system
"cp
#{
CREW_PREFIX
}
/share/appdata/gfm.appdata.xml
#{
CREW_DEST_PREFIX
}
/share/appdata"
system
"cp
#{
CREW_PREFIX
}
/share/appdata/tilp.appdata.xml
#{
CREW_DEST_PREFIX
}
/share/appdata"
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 -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/tilp2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
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/libticables2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
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/libtifiles2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
system
"cp
#{
CREW_PREFIX
}
/share/locale/fr/LC_MESSAGES/tilp2.mo
#{
CREW_DEST_PREFIX
}
/share/locale"
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
"rm -rf
#{
CREW_DEST_PREFIX
}
/share/tilp"
end
end
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