aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-11 21:02:00 -0500
committerJack Nagel2014-09-11 21:02:00 -0500
commite95361462fb4e77e2f1492417bfb35cb0f329873 (patch)
treebb62cac132ad354f077353a480ca392d1d682c99
parenta79a43ca173d2a552431a2a49d478299ac7d0b3d (diff)
downloadhomebrew-e95361462fb4e77e2f1492417bfb35cb0f329873.tar.bz2
ossp-uuid: sandbox headers and remove keg-only limitation
-rw-r--r--Library/Formula/ossp-uuid.rb20
1 files changed, 7 insertions, 13 deletions
diff --git a/Library/Formula/ossp-uuid.rb b/Library/Formula/ossp-uuid.rb
index 22cd1ef30..12506e9cd 100644
--- a/Library/Formula/ossp-uuid.rb
+++ b/Library/Formula/ossp-uuid.rb
@@ -1,25 +1,18 @@
-require 'formula'
+require "formula"
class OsspUuid < Formula
- homepage 'http://www.ossp.org/pkg/lib/uuid/'
- url 'http://ftp.de.debian.org/debian/pool/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz'
- mirror 'ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz'
- sha1 '3e22126f0842073f4ea6a50b1f59dcb9d094719f'
+ homepage "http://www.ossp.org/pkg/lib/uuid/"
+ url "http://ftp.de.debian.org/debian/pool/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz"
+ mirror "ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz"
+ sha1 "3e22126f0842073f4ea6a50b1f59dcb9d094719f"
+ revision 1
bottle do
- cellar :any
- revision 1
- sha1 'be005cdd4b3b2bb684a2c67458b241189fb234e2' => :mavericks
- sha1 'fbed4a708210f9c2fcf2ee70f8e82e4c92db3ac3' => :mountain_lion
- sha1 '853ec550d13e6cd48f2ff43605a6ae17b43f4565' => :lion
end
option :universal
option "32-bit"
- # see https://github.com/Homebrew/homebrew/issues/16077
- keg_only "OS X provides a uuid.h which conflicts with ossp-uuid's header."
-
def install
if build.universal?
ENV.universal_binary
@@ -28,6 +21,7 @@ class OsspUuid < Formula
end
system "./configure", "--prefix=#{prefix}",
+ "--includedir=#{include}/ossp",
"--without-perl",
"--without-php",
"--without-pgsql"