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
50eb55b9
Commit
50eb55b9
authored
Oct 28, 2017
by
Ed Reel
Committed by
GitHub
Oct 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1316 from cstrouse/update-ffcall
Update ffcall from 1.10-1 to 2.0
parents
2e024ac4
67183595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
19 deletions
+8
-19
packages/ffcall.rb
packages/ffcall.rb
+8
-19
No files found.
packages/ffcall.rb
View file @
50eb55b9
require
'package'
class
Ffcall
<
Package
description
'
Foreign function call is a collection of four libraries
which can be used to build foreign function call interfaces in embedded interpreters.'
homepage
'http
://www.haible.de/bruno/packages-ffcall-README.html
'
version
'
1.10-1
'
source_url
'http
://www.haible.de/bruno/gnu/ffcall-1.1
0.tar.gz'
source_sha256
'
6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d
'
description
'
GNU libffcall is a library
which can be used to build foreign function call interfaces in embedded interpreters.'
homepage
'http
s://www.gnu.org/software/libffcall/
'
version
'
2.0
'
source_url
'http
s://ftp.gnu.org/gnu/libffcall/libffcall-2.
0.tar.gz'
source_sha256
'
41aad2b449d90a5308e72267829db006dc9f9cc8736807082e1f2daef680196c
'
binary_url
({
i686:
'https://dl.bintray.com/chromebrew/chromebrew/ffcall-1.10-1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/ffcall-1.10-1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
i686:
'9d64fa08b420b2e0e04545d905fd3a06ee3c42c9fb6770d41f455395a4255344'
,
x86_64:
'd7a2d2cb69fa4ce1a9e9da530a2fa3228b48a9d4c70195f73b96eea9237b543e'
,
})
def
self
.
build
system
"./configure --prefix=/usr/local CFLAGS=
\"
-fPIC
\"
"
# force to compile in sequential since ffcall Makefile doesn't work in parallel
system
"make"
,
"-j1"
system
"./configure --prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
CFLAGS=
\"
-fPIC
\"
"
system
'make'
,
'-j1'
# doesn't support parallel builds
end
def
self
.
install
system
"make check"
# ffcall's `make install` doesn't create intermediate directory, so prepare for it here.
system
"mkdir"
,
"-p"
,
"
#{
CREW_DEST_DIR
}
/usr/local"
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
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