Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

XMark 0.92: new formula was added #5694

Closed
wants to merge 1 commit into from

3 participants

@asteriosk

I have added a new formula for XMark, an xml data generator.

@jacknagel jacknagel commented on the diff
Library/Formula/xmark.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Xmark < Formula
+ url 'http://www.ins.cwi.nl/projects/xmark/Assets/unix.c'
+ homepage 'http://www.xml-benchmark.org/'
+ md5 'a27a4fbf3f10d29a43f965a640eedba1'
+ version '0.92'
+
+ def install
+ system "gcc -o xmark unix.c"
+ bin.install('xmark')
@jacknagel Collaborator

Fix the indentation here; thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@jacknagel jacknagel commented on the diff
Library/Formula/xmark.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Xmark < Formula
+ url 'http://www.ins.cwi.nl/projects/xmark/Assets/unix.c'
+ homepage 'http://www.xml-benchmark.org/'
+ md5 'a27a4fbf3f10d29a43f965a640eedba1'
+ version '0.92'
+
+ def install
+ system "gcc -o xmark unix.c"
@jacknagel Collaborator

Maybe do system "#{ENV.cc} #{ENV.cflags} -o xmark unix.c" here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@adamv
Owner

Closing because this is a single, non-VCS .c file that can change at any moment. The checksum helps, but we prefer stable downloads for formulae. Though please feel free to make the changes suggested above and resubmit to homebrew-alt.

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 0 deletions.
  1. +13 −0 Library/Formula/xmark.rb
View
13 Library/Formula/xmark.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Xmark < Formula
+ url 'http://www.ins.cwi.nl/projects/xmark/Assets/unix.c'
+ homepage 'http://www.xml-benchmark.org/'
+ md5 'a27a4fbf3f10d29a43f965a640eedba1'
+ version '0.92'
+
+ def install
+ system "gcc -o xmark unix.c"
@jacknagel Collaborator

Maybe do system "#{ENV.cc} #{ENV.cflags} -o xmark unix.c" here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ bin.install('xmark')
@jacknagel Collaborator

Fix the indentation here; thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ end
+end
Something went wrong with that request. Please try again.