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
92b6a4db
Commit
92b6a4db
authored
Jan 23, 2017
by
lyxell
Committed by
GitHub
Jan 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #369 from jam7/fix-libgd
libgd requires libpng and `cd src`
parents
00023b89
a95b648e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
packages/libgd.rb
packages/libgd.rb
+5
-1
No files found.
packages/libgd.rb
View file @
92b6a4db
...
@@ -5,6 +5,8 @@ class Libgd < Package
...
@@ -5,6 +5,8 @@ class Libgd < Package
source_url
'https://github.com/libgd/libgd/archive/GD_2_0_33.tar.gz'
source_url
'https://github.com/libgd/libgd/archive/GD_2_0_33.tar.gz'
source_sha1
'489e25f18d3fc9d7f8b0e4889f98f5aa25363c3e'
source_sha1
'489e25f18d3fc9d7f8b0e4889f98f5aa25363c3e'
depends_on
'libpng'
def
self
.
build
def
self
.
build
FileUtils
.
cd
(
'src'
)
do
FileUtils
.
cd
(
'src'
)
do
system
"./configure --libdir=/usr/local/lib
#{
SHORTARCH
}
/ CC=
\"
gcc -m
#{
SHORTARCH
}
\"
CFLAGS=
\"
-fPIC
\"
"
system
"./configure --libdir=/usr/local/lib
#{
SHORTARCH
}
/ CC=
\"
gcc -m
#{
SHORTARCH
}
\"
CFLAGS=
\"
-fPIC
\"
"
...
@@ -13,6 +15,8 @@ class Libgd < Package
...
@@ -13,6 +15,8 @@ class Libgd < Package
end
end
def
self
.
install
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
FileUtils
.
cd
(
'src'
)
do
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
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