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
8 years ago
by
lyxell
Committed by
GitHub
8 years ago
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
nexedi
master
re6stnet-archive
revert-1030-add-vpnc-package
revert-1177-update-screenfetch
revert-758-add-moreutils-package
revert-760-add-cron-package
revert-936-update-emacs-package
No related merge requests found
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
source_url
'https://github.com/libgd/libgd/archive/GD_2_0_33.tar.gz'
source_sha1
'489e25f18d3fc9d7f8b0e4889f98f5aa25363c3e'
depends_on
'libpng'
def
self
.
build
FileUtils
.
cd
(
'src'
)
do
system
"./configure --libdir=/usr/local/lib
#{
SHORTARCH
}
/ CC=
\"
gcc -m
#{
SHORTARCH
}
\"
CFLAGS=
\"
-fPIC
\"
"
...
...
@@ -13,6 +15,8 @@ class Libgd < Package
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
FileUtils
.
cd
(
'src'
)
do
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
end
end
This diff is collapsed.
Click to expand it.
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