Commit c012c0e2 authored by system_user's avatar system_user

New packages in various states of functionality needed for Mapserver

parent 26463de5
require 'package'
class Fontconfig < Package
version '2.11.94'
source_url 'http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.94.tar.gz'
source_sha1 '3748d8a2b9cf8052dbd003f524d829157f1ead83'
depends_on 'pkgconfig'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Freetype < Package
version '2.6'
source_url 'http://download.savannah.gnu.org/releases/freetype/freetype-2.6.tar.gz'
source_sha1 '12dd3267af62cccc32045ed99984f3d8a8ddbf90'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libjpeg < Package
version '6.3'
source_url 'http://www.ijg.org/files/jpegsrc.v6b.tar.gz'
source_sha1 '7079f0d6c42fad0cfba382cf6ad322add1ace8f9'
def self.build
system "./configure --includedir=/usr/local/include --libdir=/usr/local/lib64 CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libpng < Package
version '1.5.22'
source_url 'http://www.mirrorservice.org/sites/downloads.sourceforge.net/l/li/libpng/libpng15/1.5.22/libpng-1.5.22.tar.gz'
source_sha1 'e912df0826dd6fb74f579ba60bf05c99807548ac'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Mapserver < Package
version '5.6.9'
source_url 'http://download.osgeo.org/mapserver/mapserver-5.6.9.tar.gz'
source_sha1 '3f05bf6c9a32b34408e36ddd32f61d68d65cf01c'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" 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"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Openconnect < Package
version '7.06'
source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --without-gnutls"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Pkgconfig < Package
version '0.28'
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz'
source_sha1 '71853779b12f958777bffcb8ca6d849b4d3bed46'
def self.build
system "./configure --with-internal-glib --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Thttpd < Package
version '2.25'
source_url 'https://www.dropbox.com/s/sckekosjqtde5rt/thttpd-2.25b.tar.gz?dl=0'
source_sha1 '5c2d37ad4291e262b33588375810deb1d48a37ed'
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment