Move head-only brews to homebrew-headonly.
Also move google-js-test which depends on head-only re2. Closes Homebrew/homebrew#17665.
This commit is contained in:
parent
941e92a117
commit
c76836010e
29 changed files with 0 additions and 570 deletions
|
@ -1,11 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Bonnie < Formula
|
||||
homepage 'http://code.google.com/p/bonnie-64/'
|
||||
head 'http://bonnie-64.googlecode.com/svn/trunk/'
|
||||
|
||||
def install
|
||||
system "make"
|
||||
bin.install "Bonnie" => "bonnie"
|
||||
end
|
||||
end
|
|
@ -1,37 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Darwinbuild < Formula
|
||||
homepage 'http://darwinbuild.macosforge.org/'
|
||||
head 'http://svn.macosforge.org/repository/darwinbuild/trunk/'
|
||||
|
||||
def patches
|
||||
DATA
|
||||
end
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
ENV.delete('CC')
|
||||
ENV.delete('LD')
|
||||
system "xcodebuild", "-configuration", "Release", "install", "DSTROOT=/", "PREFIX=#{prefix}", "SYMROOT=build"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/common.mk b/common.mk
|
||||
index 424109b..56fad54 100644
|
||||
--- a/common.mk
|
||||
+++ b/common.mk
|
||||
@@ -15,9 +15,9 @@ BINDIR=$(DESTDIR)$(PREFIX)/bin
|
||||
DATDIR=$(DESTDIR)$(PREFIX)/share
|
||||
INCDIR=$(DESTDIR)$(PREFIX)/include
|
||||
INSTALL=install
|
||||
-INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel
|
||||
+INSTALL_EXE_FLAGS=-m 0755
|
||||
INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS)
|
||||
-INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel
|
||||
+INSTALL_DOC_FLAGS=-m 0644
|
||||
|
||||
SED=/usr/bin/sed
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Despotify < Formula
|
||||
head 'https://despotify.svn.sourceforge.net/svnroot/despotify/src'
|
||||
homepage 'http://despotify.se/'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libao'
|
||||
depends_on 'libvorbis'
|
||||
depends_on 'mpg123'
|
||||
|
||||
def install
|
||||
system "make Makefile.local.mk"
|
||||
inreplace "Makefile.local.mk", "# INSTALL_PREFIX = /usr", "INSTALL_PREFIX = #{prefix}"
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,16 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class EchoprintCodegen < Formula
|
||||
homepage 'http://echoprint.me'
|
||||
head 'https://github.com/echonest/echoprint-codegen.git'
|
||||
|
||||
depends_on 'ffmpeg'
|
||||
depends_on 'taglib'
|
||||
depends_on 'boost'
|
||||
|
||||
def install
|
||||
cd 'src' do
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,10 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class GerritTools < Formula
|
||||
head 'https://github.com/indirect/gerrit-tools.git'
|
||||
homepage 'https://github.com/indirect/gerrit-tools'
|
||||
|
||||
def install
|
||||
prefix.install 'bin'
|
||||
end
|
||||
end
|
|
@ -1,27 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class HgInstalled < Requirement
|
||||
satisfy { which 'hg' }
|
||||
|
||||
def message; <<-EOS.undent
|
||||
Mercurial is required to use this software.
|
||||
|
||||
You can install this with Homebrew using:
|
||||
brew install mercurial
|
||||
|
||||
Or you can use an official installer from:
|
||||
http://mercurial.selenic.com/
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
class GitHg < Formula
|
||||
head 'https://github.com/offbytwo/git-hg.git'
|
||||
homepage 'http://offbytwo.com/git-hg/'
|
||||
|
||||
depends_on HgInstalled
|
||||
|
||||
def install
|
||||
prefix.install Dir['*']
|
||||
end
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class GitSvnAbandon < Formula
|
||||
homepage 'https://github.com/nothingmuch/git-svn-abandon'
|
||||
head 'https://github.com/nothingmuch/git-svn-abandon.git'
|
||||
|
||||
# Pending request for stable tab:
|
||||
# https://github.com/nothingmuch/git-svn-abandon/issues/2
|
||||
|
||||
def install
|
||||
bin.install Dir['git-svn-abandon-*']
|
||||
end
|
||||
end
|
|
@ -1,10 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class GitUtils < Formula
|
||||
head 'https://github.com/ddollar/git-utils.git'
|
||||
homepage 'https://github.com/ddollar/git-utils'
|
||||
|
||||
def install
|
||||
bin.install Dir['git-*']
|
||||
end
|
||||
end
|
|
@ -1,27 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class NeedsSnowLeopard < Requirement
|
||||
satisfy MacOS.version >= :snow_leopard
|
||||
|
||||
def message
|
||||
"Google JS Test requires Mac OS X 10.6 (Snow Leopard) or newer."
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleJsTest < Formula
|
||||
homepage 'http://code.google.com/p/google-js-test/'
|
||||
url 'http://google-js-test.googlecode.com/files/gjstest-1.0.8.tar.bz2'
|
||||
sha1 '2209dd0c700f9420e29a844920f8614e3d97156d'
|
||||
|
||||
depends_on NeedsSnowLeopard
|
||||
depends_on 'gflags'
|
||||
depends_on 'glog'
|
||||
depends_on 'protobuf'
|
||||
depends_on 're2'
|
||||
depends_on 'v8'
|
||||
|
||||
def install
|
||||
system "make", "PREFIX=#{prefix}"
|
||||
system "make", "PREFIX=#{prefix}", "install"
|
||||
end
|
||||
end
|
|
@ -1,18 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class LastfmFplib < Formula
|
||||
homepage 'http://blog.last.fm/2007/08/29/audio-fingerprinting-for-clean-metadata'
|
||||
head 'svn://svn.audioscrobbler.net/recommendation/MusicID/lastfm_fplib'
|
||||
|
||||
depends_on 'cmake' => :build
|
||||
depends_on 'taglib'
|
||||
depends_on 'mad'
|
||||
depends_on 'libsamplerate'
|
||||
depends_on 'fftw'
|
||||
|
||||
def install
|
||||
Formula.factory("lastfmfpclient").inreplace_fix
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,29 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Libemu < Formula
|
||||
head 'http://git.carnivore.it/libemu.git'
|
||||
homepage 'http://libemu.carnivore.it/'
|
||||
|
||||
option "enable-python-bindings", "Compile bindings for Python"
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on :automake
|
||||
depends_on :libtool
|
||||
|
||||
def install
|
||||
inreplace 'Makefile.am' do |s|
|
||||
# Need to fix the static location of pkgconfigpath
|
||||
s.gsub! '/usr/lib/pkgconfig/', "#{lib}/pkgconfig/"
|
||||
end
|
||||
args = %W[
|
||||
--disable-debug
|
||||
--disable-dependency-tracking
|
||||
--prefix=#{prefix}
|
||||
]
|
||||
args << "--enable-python-bindings" if build.include? 'enable-python-bindings'
|
||||
|
||||
system "autoreconf -v -i"
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,29 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Libgarmin < Formula
|
||||
head 'http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev/'
|
||||
homepage 'http://libgarmin.sourceforge.net/'
|
||||
|
||||
def rewrite_version
|
||||
File.open("version.h","w") { |f| f.puts "#define LIBVERSION \"libgarmin 0.1\"" }
|
||||
end
|
||||
|
||||
def install
|
||||
system "./autosh.sh" unless File.exist? "configure"
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
|
||||
# Fix OS X include
|
||||
inreplace Dir["{src,utils}/*.c"], "#include <malloc.h>", "#include <stdlib.h>"
|
||||
|
||||
# The code for creating 'verison.h' doesn't work on OS X.
|
||||
inreplace "Makefile" do |s|
|
||||
s.change_make_var! "BUILT_SOURCES", ""
|
||||
end
|
||||
|
||||
# Yep, need to recreate before make and make install
|
||||
rewrite_version
|
||||
system "make"
|
||||
rewrite_version
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,19 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Odt2txt < Formula
|
||||
# Retrieve the HEAD because no releases have been made since the commit that
|
||||
# includes Makefile rules for Mac OS X.
|
||||
head 'git://repo.or.cz/odt2txt.git'
|
||||
homepage 'http://stosberg.net/odt2txt/'
|
||||
|
||||
def install
|
||||
# the build flags in the Makefile contain "/opt" paths
|
||||
args = ["CC=#{ENV.cc}",
|
||||
"CFLAGS=#{ENV.cflags}",
|
||||
"LDFLAGS=#{ENV.cppflags}",
|
||||
"DESTDIR=#{prefix}"]
|
||||
|
||||
# Use the -B flag to force make the install target to circumvent bugs in the Makefile
|
||||
system "make", "-B", "install", *args
|
||||
end
|
||||
end
|
|
@ -1,20 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class OpenSg < Formula
|
||||
homepage 'http://www.opensg.org/wiki'
|
||||
|
||||
head 'cvs://:pserver:anonymous@opensg.cvs.sourceforge.net:/cvsroot/opensg:OpenSG'
|
||||
|
||||
depends_on 'libtiff'
|
||||
depends_on 'jpeg'
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
ENV.no_optimization
|
||||
system "./configure", "--prefix=#{prefix}", "--enable-glut", "--enable-tif", "--enable-jpg"
|
||||
cd 'Builds/i386-apple-darwin-g++' do
|
||||
system "make opt"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,26 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Libowfat < Formula
|
||||
url 'http://dl.fefe.de/libowfat-0.28.tar.bz2'
|
||||
sha1 ''
|
||||
homepage 'http://www.fefe.de/libowfat/'
|
||||
end
|
||||
|
||||
class Opentracker < Formula
|
||||
head 'cvs://:pserver:anoncvs:@cvs.erdgeist.org:/home/cvsroot:opentracker'
|
||||
homepage 'http://erdgeist.org/arts/software/opentracker/'
|
||||
|
||||
def install
|
||||
# First libowfat must be compiled and installed where opentracker is expecting it
|
||||
libowfat_include = Pathname.new(pwd) + 'libowfat'
|
||||
Libowfat.new.brew do
|
||||
system "make", "install", "INCLUDEDIR=#{libowfat_include}", "LIBDIR=#{libowfat_include}", "MAN3DIR=."
|
||||
end
|
||||
|
||||
# Tell opentracker that libowfat headers are located in the same directory as itself
|
||||
ENV['PREFIX'] = '.'
|
||||
|
||||
system "make", "opentracker"
|
||||
bin.install "opentracker"
|
||||
end
|
||||
end
|
|
@ -1,19 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Otx < Formula
|
||||
homepage 'http://otx.osxninja.com/'
|
||||
head 'http://otx.osxninja.com/builds/trunk/', :using => :svn
|
||||
|
||||
depends_on :xcode # For working xcodebuild.
|
||||
|
||||
def install
|
||||
inreplace 'otx.xcodeproj/project.pbxproj' do |s|
|
||||
s.gsub! "MacOSX10.6.sdk", "MacOSX#{MacOS.version}.sdk"
|
||||
end
|
||||
|
||||
system 'xcodebuild SYMROOT=build'
|
||||
build = buildpath/'build/Release'
|
||||
bin.install build/"otx"
|
||||
prefix.install build/"otx.app"
|
||||
end
|
||||
end
|
|
@ -1,26 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Playdar < Formula
|
||||
homepage 'http://www.playdar.org'
|
||||
head 'https://github.com/RJ/playdar-core.git'
|
||||
|
||||
depends_on 'taglib'
|
||||
depends_on 'erlang'
|
||||
|
||||
def install
|
||||
system "make all"
|
||||
system "make scanner"
|
||||
|
||||
Dir['playdar_modules/*/src'].each{ |fn| rm_rf fn }
|
||||
rm_rf 'playdar_modules/library/priv/taglib_driver/scanner_visual_studio_sln'
|
||||
File.unlink 'playdar_modules/library/priv/taglib_driver/taglib_json_reader.cpp'
|
||||
|
||||
# otherwise playdar crashes
|
||||
prefix.install 'ebin', 'playdar_modules', 'priv', 'etc'
|
||||
|
||||
inreplace 'playdarctl', 'cd `dirname $0`', "cd #{prefix}"
|
||||
inreplace 'playdarctl', 'EBIN=./ebin/', "EBIN=#{prefix}/ebin"
|
||||
|
||||
bin.install 'playdarctl'
|
||||
end
|
||||
end
|
|
@ -1,17 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Re2 < Formula
|
||||
head 'https://re2.googlecode.com/hg'
|
||||
homepage 'http://code.google.com/p/re2/'
|
||||
|
||||
def install
|
||||
inreplace 'Makefile' do |s|
|
||||
s.change_make_var! "prefix", prefix
|
||||
s.gsub! ".so", ".dylib"
|
||||
end
|
||||
|
||||
lib.mkdir
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,14 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Rebar < Formula
|
||||
head "https://github.com/basho/rebar.git", :branch => "master"
|
||||
homepage 'https://github.com/basho/rebar/wiki'
|
||||
|
||||
depends_on 'erlang'
|
||||
|
||||
def install
|
||||
system "./bootstrap"
|
||||
bin.install "rebar"
|
||||
(prefix+'etc/bash_completion.d').install 'priv/shell-completion/bash/rebar'
|
||||
end
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class RedisTools < Formula
|
||||
head 'https://github.com/antirez/redis-tools.git'
|
||||
homepage 'https://github.com/antirez/redis-tools'
|
||||
|
||||
def install
|
||||
# Architecture isn't detected correctly on 32bit Snow Leopard without help
|
||||
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
|
||||
system "make"
|
||||
bin.install ["redis-load", "redis-stat"]
|
||||
end
|
||||
end
|
|
@ -1,68 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Sigar < Formula
|
||||
# HEAD has up to date bindings that are actually useful.
|
||||
head 'https://github.com/hyperic/sigar.git'
|
||||
homepage 'http://sigar.hyperic.com/'
|
||||
|
||||
option "perl", "Build Perl bindings"
|
||||
option "python", "Build Python bindings"
|
||||
option "ruby", "Build Ruby bindings"
|
||||
|
||||
def java_script; <<-EOS.undent
|
||||
#!/bin/sh
|
||||
# Runs SIGAR's REPL.
|
||||
java -jar #{prefix}/sigar.jar
|
||||
EOS
|
||||
end
|
||||
|
||||
def install
|
||||
# Build Java JAR & C library first.
|
||||
cd "bindings/java" do
|
||||
system "ant"
|
||||
|
||||
cd "sigar-bin/lib" do
|
||||
prefix.install 'sigar.jar'
|
||||
lib.install Dir['*.dylib']
|
||||
end
|
||||
|
||||
include.install Dir['sigar-bin/include/*']
|
||||
|
||||
(bin/'sigar').write java_script
|
||||
end
|
||||
|
||||
# Install Python bindings
|
||||
cd "bindings/python" do
|
||||
system "python", "setup.py", "install", "--prefix=#{prefix}"
|
||||
end if build.include? "python"
|
||||
|
||||
# Install Perl bindings
|
||||
cd "bindings/perl" do
|
||||
|
||||
system "perl", "Makefile.PL"
|
||||
|
||||
# Tweak the Makefile to install.
|
||||
# Can't pass PREFIX, as the Sigar build system uses ARGV[0]
|
||||
inreplace "Makefile" do |s|
|
||||
s.change_make_var! 'PREFIX', prefix
|
||||
s.change_make_var! 'PERLPREFIX', '$(PREFIX)'
|
||||
s.change_make_var! 'SITEPREFIX', '$(PREFIX)'
|
||||
s.change_make_var! 'VENDORPREFIX', '$(PREFIX)'
|
||||
s.change_make_var! 'INSTALLPRIVLIB', "$(PERLPREFIX)\\1"
|
||||
s.change_make_var! 'INSTALLSITELIB', "$(PERLPREFIX)\\1"
|
||||
s.change_make_var! 'INSTALLVENDORLIB', "$(PERLPREFIX)\\1"
|
||||
s.change_make_var! 'INSTALLARCHLIB', "$(PERLPREFIX)\\1"
|
||||
s.change_make_var! 'INSTALLSITEARCH', "$(PERLPREFIX)\\1"
|
||||
s.change_make_var! 'INSTALLVENDORARCH', "$(PERLPREFIX)\\1"
|
||||
end
|
||||
|
||||
system "make install"
|
||||
end if build.include? "perl"
|
||||
|
||||
# Install Ruby bindings
|
||||
cd "bindings/ruby" do
|
||||
system "ruby", "extconf.rb", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end if build.include? "ruby"
|
||||
end
|
||||
end
|
|
@ -1,26 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Smpeg < Formula
|
||||
homepage 'http://icculus.org/smpeg/'
|
||||
head 'svn://svn.icculus.org/smpeg/trunk'
|
||||
|
||||
depends_on :automake
|
||||
depends_on :libtool
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'sdl'
|
||||
depends_on 'gtk+'
|
||||
|
||||
def install
|
||||
sdl = Formula.factory("sdl")
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-sdltest",
|
||||
# For non-/usr/local installs
|
||||
"--with-sdl-prefix=#{sdl.opt_prefix}"
|
||||
system "make"
|
||||
# Install script is not +x by default for some reason
|
||||
system "chmod +x ./install-sh"
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Stp < Formula
|
||||
head 'http://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp', :revision => '1134'
|
||||
homepage 'http://sites.google.com/site/stpfastprover/'
|
||||
|
||||
def install
|
||||
system "./scripts/configure", "--with-prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Tcpstat < Formula
|
||||
head 'https://github.com/jtt/tcpstat.git'
|
||||
homepage 'http://github.com/jtt/tcpstat'
|
||||
|
||||
def install
|
||||
system "make"
|
||||
bin.install 'tcpstat'
|
||||
end
|
||||
end
|
|
@ -1,10 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Titlecase < Formula
|
||||
head 'https://github.com/ap/titlecase.git'
|
||||
homepage 'http://plasmasturm.org/code/titlecase/'
|
||||
|
||||
def install
|
||||
bin.install "titlecase"
|
||||
end
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Unyaffs < Formula
|
||||
head 'http://unyaffs.googlecode.com/svn/trunk/'
|
||||
homepage 'http://code.google.com/p/unyaffs/'
|
||||
|
||||
def install
|
||||
system "#{ENV.cc} #{ENV.cflags} -o unyaffs unyaffs.c"
|
||||
bin.install 'unyaffs'
|
||||
end
|
||||
end
|
|
@ -1,13 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Vcprompt < Formula
|
||||
head 'hg://http://vc.gerg.ca/hg/vcprompt/'
|
||||
homepage 'http://vc.gerg.ca/hg/vcprompt/'
|
||||
|
||||
def install
|
||||
system "make"
|
||||
# Install manually; 'make install' doesn't work.
|
||||
bin.install "vcprompt"
|
||||
end
|
||||
end
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Willgit < Formula
|
||||
homepage 'http://git-wt-commit.rubyforge.org/'
|
||||
head 'git://gitorious.org/willgit/mainline.git'
|
||||
|
||||
def install
|
||||
prefix.install 'bin'
|
||||
end
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Wol < Formula
|
||||
head 'https://github.com/kylef/wol.git'
|
||||
homepage 'http://kylefuller.co.uk/'
|
||||
|
||||
def install
|
||||
system "make"
|
||||
bin.install "bin/wol"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue