Skip to content

Instantly share code, notes, and snippets.

View dpo's full-sized avatar
💭
Hacking

Dominique dpo

💭
Hacking
View GitHub Profile
require 'formula'
class RDownloadStrategy < SubversionDownloadStrategy
def stage
quiet_safe_system 'cp', '-r', @clone, Dir.pwd
Dir.chdir cache_filename
end
end
class R < Formula
Undefined symbols for architecture x86_64:
"H5::H5Location::createAttribute(std::string const&, H5::DataType const&, H5::DataSpace const&, H5::PropList const&) const", referenced from:
itk::HDF5ImageIO::WriteScalar(std::string const&, bool const&) in itkHDF5ImageIO.cxx.o
itk::HDF5ImageIO::WriteScalar(std::string const&, long const&) in itkHDF5ImageIO.cxx.o
itk::HDF5ImageIO::WriteScalar(std::string const&, unsigned long const&) in itkHDF5ImageIO.cxx.o
"H5::DataSet::read(std::string&, H5::DataType const&, H5::DataSpace const&, H5::DataSpace const&, H5::DSetMemXferPropList const&) const", referenced from:
itk::HDF5ImageIO::ReadString(std::string const&) in itkHDF5ImageIO.cxx.o
"H5::DataSet::write(std::string const&, H5::DataType const&, H5::DataSpace const&, H5::DataSpace const&, H5::DSetMemXferPropList const&) const", referenced from:
itk::HDF5ImageIO::WriteString(std::string const&, std::string const&) in itkHDF5ImageIO.cxx.o
"H5::CommonFG::createGroup(std::string const&,
@dpo
dpo / octave.rb
Created September 12, 2014 19:35
require "formula"
class Octave < Formula
homepage "http://www.gnu.org/software/octave/index.html"
url "http://ftpmirror.gnu.org/octave/octave-3.8.1.tar.bz2"
mirror "http://ftp.gnu.org/gnu/octave/octave-3.8.1.tar.bz2"
sha1 "2951aeafe58d562672feb80dd8c3cfe0643a5087"
head "http://www.octave.org/hg/octave", :branch => "gui-release", :using => :hg
stable do
@dpo
dpo / 04.make
Created October 11, 2014 18:51
2014-10-11 12:32:34 -0600
make check
Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-recursive
Making check in io
Making check in mhdf
make[4]: Nothing to be done for `check'.
Making check in .
module RutherfordBoeing
export RutherfordBoeingData
type RBMeta
# Metadata attached to Rutherford-Boeing data.
title :: String
key :: String
@dpo
dpo / octave.rb
Last active August 29, 2015 14:08
require "formula"
class Octave < Formula
homepage "http://www.gnu.org/software/octave/index.html"
url "http://ftpmirror.gnu.org/octave/octave-3.8.1.tar.bz2"
mirror "http://ftp.gnu.org/gnu/octave/octave-3.8.1.tar.bz2"
sha1 "2951aeafe58d562672feb80dd8c3cfe0643a5087"
head "http://www.octave.org/hg/octave", :branch => "gui-release", :using => :hg
stable do
require "formula"
class Petsc < Formula
homepage "http://www.mcs.anl.gov/petsc/index.html"
url "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.5.2.tar.gz"
sha1 "d60d1735762f2e398774514451e137580bb2c7bb"
head "https://bitbucket.org/petsc/petsc", :using => :git
option "without-check", "Skip build-time tests (not recommended)"
option "complex", "Build complex-valued version of PETSc"
require 'formula'
class Swig208 < Formula
homepage 'http://www.swig.org/'
url 'https://downloads.sourceforge.net/project/swig/swig/swig-2.0.8/swig-2.0.8.tar.gz'
sha1 '763305da320163903c69c1cdfbf9a942117d9ace'
conflicts_with "swig", :because => "two different versions of the same utility"
option :universal
@dpo
dpo / r.rb
Last active August 29, 2015 14:08
require 'formula'
class RDownloadStrategy < SubversionDownloadStrategy
def stage
quiet_safe_system 'cp', '-r', @clone, Dir.pwd
Dir.chdir cache_filename
end
end
class R < Formula
@dpo
dpo / a.rb
Created November 13, 2014 00:01
176c176
< %OCTAVE_CONF_OCTAVE_LINK_DEPS%);
---
> "");
178c178
< %OCTAVE_CONF_OCTAVE_LINK_OPTS%);
---
> "");
180c180
< %OCTAVE_CONF_OCT_LINK_DEPS%);