Commit 7ac2d6b8 authored by Damian Montero's avatar Damian Montero

merged

parents 83d8fca5 3cdbf3ba
require 'package'
class Imagemagick < Package
version '6.9.2-10'
source_url 'http://www.imagemagick.org/download/releases/ImageMagick-6.9.2-10.tar.xz'
source_sha1 'd0b3fdf8f25856bf0058716703f7bf989560d2ce'
depends_on 'pkgconfig'
def self.build
system "./configure --libdir=/usr/local/lib#{SHORTARCH}/ CC=\"gcc -m#{SHORTARCH}\" CFLAGS=\" -fPIC\" --without-python"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libxslt < Package
version '1.1.28'
source_url 'http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz'
source_sha1 '4df177de629b2653db322bfb891afa3c0d1fa221'
def self.build
system "./configure --libdir=/usr/local/lib#{SHORTARCH}/ CC=\"gcc -m#{SHORTARCH}\" CFLAGS=\" -fPIC\" --without-python"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Nodejs < Package
class Node < Package
version '4.3.0'
source_url 'https://nodejs.org/dist/v4.3.0/node-v4.3.0.tar.xz'
source_sha1 'd7b4e9676e63fc3dd1d506cef244874466264e22'
......
require 'package'
class Patchelf < Package
version '0.8'
source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2'
source_sha1 'd0645e9cee6f8e583ae927311c7ce88d29f416fc'
def self.build
system "./configure", "prefix=/usr/local"
system "make"
end
def self.install
system "make", "PREFIX=#{CREW_DEST_DIR}/usr/local", "install"
end
end
......@@ -20,6 +20,7 @@ class Postgres < Package
puts "Installation success!"
puts "To get started, you need to initialize a database directory"
puts "'echo \"export PATH=/usr/local/pgsql/bin:$PATH\" >> ~/.bashrc'"
puts "'source ~/.bashrc'"
puts "'sudo chown chronos:chronos /usr/local/pgsql/data'"
puts "'sudo chmod 700 /usr/local/pgsql/data'"
puts "'initdb -D /usr/local/pgsql/data'"
......
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