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
958fa98f
Commit
958fa98f
authored
Feb 04, 2017
by
lyxell
Committed by
GitHub
Feb 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #483 from cstrouse/update-libgd
Update libgd from 2.0.33-1 to 2.2.4
parents
b0645c41
d6c7ce2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
packages/libgd.rb
packages/libgd.rb
+8
-6
No files found.
packages/libgd.rb
View file @
958fa98f
require
'package'
require
'package'
class
Libgd
<
Package
class
Libgd
<
Package
version
'2.
0.33-1
'
version
'2.
2.4
'
source_url
'https://github.com/libgd/libgd/archive/
GD_2_0_33
.tar.gz'
source_url
'https://github.com/libgd/libgd/archive/
gd-2.2.4
.tar.gz'
source_sha1
'
489e25f18d3fc9d7f8b0e4889f98f5aa25363c3e
'
source_sha1
'
630daec16fe06e4e916fd0fa8499c8fa5c0dcbca
'
depends_on
'cmake'
depends_on
'libpng'
depends_on
'libpng'
def
self
.
build
def
self
.
build
FileUtils
.
cd
(
'src'
)
do
FileUtils
.
mkdir
(
'build'
)
system
"./configure CFLAGS=
\"
-fPIC
\"
"
FileUtils
.
cd
(
'build'
)
do
system
"cmake -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_INSTALL_PREFIX=/usr/local .."
system
"make"
system
"make"
end
end
end
end
def
self
.
install
def
self
.
install
FileUtils
.
cd
(
'
src
'
)
do
FileUtils
.
cd
(
'
build
'
)
do
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
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