mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Merge #91 from titpetric
This commit is contained in:
0
packages/gdal.rb
Executable file → Normal file
0
packages/gdal.rb
Executable file → Normal file
0
packages/geos.rb
Executable file → Normal file
0
packages/geos.rb
Executable file → Normal file
20
packages/gnutls.rb
Normal file
20
packages/gnutls.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'package'
|
||||
|
||||
class Gnutls < Package
|
||||
version '3.3.15'
|
||||
source_url 'ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.15.tar.xz'
|
||||
source_sha1 'd7f66b0aeaf48ff8621cc1913230635ef672f0a4'
|
||||
|
||||
depends_on 'buildessential'
|
||||
depends_on 'nettle'
|
||||
depends_on 'pkgconfig'
|
||||
|
||||
def self.build
|
||||
system "./configure"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
@@ -6,7 +6,7 @@ class Libxml2 < Package
|
||||
source_sha1 'f46a37ea6d869f702e03f393c376760f3cbee673'
|
||||
|
||||
def self.build
|
||||
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
|
||||
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --without-python"
|
||||
system "make"
|
||||
end
|
||||
|
||||
|
||||
0
packages/mapserver.rb
Executable file → Normal file
0
packages/mapserver.rb
Executable file → Normal file
19
packages/nettle.rb
Normal file
19
packages/nettle.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
require 'package'
|
||||
|
||||
class Nettle < Package
|
||||
version '2.7.1'
|
||||
source_url 'https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz'
|
||||
source_sha1 'e7477df5f66e650c4c4738ec8e01c2efdb5d1211'
|
||||
|
||||
depends_on 'buildessential'
|
||||
depends_on 'm4'
|
||||
|
||||
def self.build
|
||||
system "./configure --libdir=/usr/local/lib"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
@@ -1,12 +1,42 @@
|
||||
require 'package'
|
||||
|
||||
# @todo: provide vpnc-script (standalone), instructions for manual install:
|
||||
#
|
||||
# sudo su -
|
||||
# mkdir /usr/local/etc/vpnc
|
||||
# cd /usr/local/etc/vpnc
|
||||
# wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
|
||||
# chmod a+x vpnc-script
|
||||
# exit
|
||||
|
||||
# @todo: provide start-vpn script, instructions for manual connect:
|
||||
|
||||
# Usage (as root - run 'sudo su -'):
|
||||
#
|
||||
# Create 'tun0' tunnel interface:
|
||||
#
|
||||
# > ip tuntap add mode tun tun0
|
||||
#
|
||||
# Run openconnect on tun0 interface
|
||||
#
|
||||
# > openconnect -i tun0 vpn.example.com
|
||||
# (Press Ctrl+C to exit)
|
||||
#
|
||||
# Shut down tun0 interface
|
||||
#
|
||||
# > ip tuntap del mode tun tun0
|
||||
|
||||
class Openconnect < Package
|
||||
version '7.06'
|
||||
source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
|
||||
source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed'
|
||||
|
||||
depends_on 'buildessential'
|
||||
depends_on 'libxml2'
|
||||
depends_on 'gnutls'
|
||||
|
||||
def self.build
|
||||
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --without-gnutls"
|
||||
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --with-vpnc-script=/usr/local/etc/vpnc/vpnc-script"
|
||||
system "make"
|
||||
end
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@ class Pkgconfig < Package
|
||||
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz'
|
||||
source_sha1 '71853779b12f958777bffcb8ca6d849b4d3bed46'
|
||||
|
||||
depends_on 'buildessential'
|
||||
|
||||
def self.build
|
||||
system "./configure --with-internal-glib --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
|
||||
system "make"
|
||||
|
||||
0
packages/proj4.rb
Executable file → Normal file
0
packages/proj4.rb
Executable file → Normal file
0
packages/thttpd.rb
Executable file → Normal file
0
packages/thttpd.rb
Executable file → Normal file
Reference in New Issue
Block a user