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
Łukasz Nowak
chromebrew
Commits
184cd6ec
Commit
184cd6ec
authored
Sep 02, 2017
by
Ed Reel
Committed by
Kazushi (Jam) Marukawa
Sep 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add freebasic package
parent
333e8aea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
packages/freebasic.rb
packages/freebasic.rb
+33
-0
No files found.
packages/freebasic.rb
0 → 100644
View file @
184cd6ec
require
'package'
class
Freebasic
<
Package
description
'FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft Windows, DOS and Linux.'
homepage
'https://www.freebasic.net/'
version
'1.05.0'
case
ARCH
when
'x86'
source_url
'https://downloads.sourceforge.net/project/fbc/Binaries%20-%20Linux/FreeBASIC-1.05.0-linux-x86.tar.gz'
source_sha256
'df20d3d11637d6f6173017dadf666d673133087189f8ecdb9756136f175e91b9'
when
'x86_64'
source_url
'https://downloads.sourceforge.net/project/fbc/Binaries%20-%20Linux/FreeBASIC-1.05.0-linux-x86_64.tar.gz'
source_sha256
'26d184061e2a55c7ee9c12213ac4bf062556ecec1bacf84037233a41aef6c74f'
end
binary_url
({
})
binary_sha256
({
})
depends_on
'ncurses'
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_LIB_PREFIX
}
"
FileUtils
.
cd
(
"
#{
CREW_DEST_LIB_PREFIX
}
"
)
do
# This is needed to fix fbc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
# See http://www.linuxforums.org/forum/installation/6251-libtinfo-so-5-a.html for more information.
system
"ln -s libncurses.so.6 libtinfo.so.5"
end
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
"
system
"./install.sh -i
#{
CREW_DEST_PREFIX
}
"
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