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
dc5cb83a
Commit
dc5cb83a
authored
Oct 27, 2017
by
Ed Reel
Committed by
GitHub
Oct 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1331 from cstrouse/add-clozure-cl
Add clozure common lisp package
parents
490bc7a2
14e9cd2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
packages/ccl.rb
packages/ccl.rb
+33
-0
No files found.
packages/ccl.rb
0 → 100644
View file @
dc5cb83a
require
'package'
class
Ccl
<
Package
description
'Clozure CL is a fast, mature, open source Common Lisp implementation.'
homepage
'https://ccl.clozure.com'
version
'1.11'
# arm only has a 32-bit build in the archive
# intel has both 32-bit and 64-bit in the archive
case
ARCH
when
'aarch64'
,
'armv7l'
source_url
'ftp://ftp.clozure.com/pub/release/1.11/ccl-1.11-linuxarm.tar.gz'
source_sha256
'64a1911fbe516b73964b377df360c3a40695c6155e0730a6590c67f1953a88f4'
when
'i686'
,
'x86_64'
source_url
'ftp://ftp.clozure.com/pub/release/1.11/ccl-1.11-linuxx86.tar.gz'
source_sha256
'08e885e8c2bb6e4abd42b8e8e2b60f257c6929eb34b8ec87ca1ecf848fac6d70'
end
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/share/ccl"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
cp_r
Dir
.
pwd
,
"
#{
CREW_DEST_PREFIX
}
/share"
# the name of the repl binary and kernel image are different for each arch
case
ARCH
when
'aarch64'
,
'armv7l'
system
"ln -s
#{
CREW_PREFIX
}
/share/ccl/armcl
#{
CREW_DEST_PREFIX
}
/bin/ccl"
when
'i686'
system
"ln -s
#{
CREW_PREFIX
}
/share/ccl/lx86cl
#{
CREW_DEST_PREFIX
}
/bin/ccl"
when
'x86_64'
system
"ln -s
#{
CREW_PREFIX
}
/share/ccl/lx86cl64
#{
CREW_DEST_PREFIX
}
/bin/ccl"
end
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