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
ab0131ec
Commit
ab0131ec
authored
Apr 26, 2017
by
lyxell
Committed by
GitHub
Apr 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #607 from Kriskras99/mapserver-patch
Mayor update for mapserver
parents
ca3c0e2d
df6b228c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
packages/mapserver.rb
packages/mapserver.rb
+15
-6
No files found.
packages/mapserver.rb
View file @
ab0131ec
require
'package'
class
Mapserver
<
Package
version
'5.6.9-1'
source_url
'http://download.osgeo.org/mapserver/mapserver-5.6.9.tar.gz'
source_sha1
'3f05bf6c9a32b34408e36ddd32f61d68d65cf01c'
version
'7.0.4'
source_url
'http://download.osgeo.org/mapserver/mapserver-7.0.4.tar.gz'
source_sha1
'8fb13c27da5902e6d9ad50f3eba550bd90750607'
depends_on
'cmake'
depends_on
'freetype'
depends_on
'cairo'
depends_on
'curl'
def
self
.
build
system
"./configure CFLAGS=
\"
-fPIC
\"
--with-gdal=/usr/local/bin/gdal-config --with-ogr --with-png --with-jpeg --without-pdf --with-agg --with-proj --with-threads --with-geos=/usr/local/bin/geos-config --with-tiff --with-wfs --with-wmsclient --with-wfsclient --with-curl-config=/usr/local/bin/curl-config --with-xml2-config=/usr/local/bin/xml2-config"
system
"make"
system
"mkdir build"
Dir
.
chdir
"build"
do
system
"cmake -DWITH_THREAD_SAFETY=1 -DWITH_HARFBUZZ=0 -DWITH_FRIBIDI=0 -DWITH_FCGI=0 -DWITH_POSTGIS=0 -DWITH_GIF=0 -DWITH_CLIENT_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CURL=1 -DCMAKE_C_FLAGS=
\"
-fPIC
\"
-DCMAKE_INSTALL_PREFIX=/usr/local .. > ../configure.out.txt"
system
"make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
Dir
.
chdir
"build"
do
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
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