Last active
August 29, 2015 13:57
-
-
Save ELLIOTTCABLE/9477372 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "formula" | |
class Gppcscconnectionplugin < Formula | |
homepage "http://sourceforge.net/p/globalplatform/wiki/Home/" | |
url "https://downloads.sourceforge.net/project/globalplatform/GlobalPlatform%20Library/GlobalPlatform%20Library%206.0.0/gppcscconnectionplugin-1.1.0.tar.gz" | |
sha1 "38eb3d739f1b75ba954f09a928a6e9db0178ea53" | |
depends_on 'globalplatform' | |
def install | |
ENV.append 'PCSCLITE_CFLAGS', "-I#{MacOS.sdk_path}/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/" | |
ENV.append 'GLOBALPLATFORM_CFLAGS', "-I#{Formula["globalplatform"].opt_prefix}/include/globalplatform" | |
ENV.append 'GLOBALPLATFORM_LIBS', "#{Formula["globalplatform"].opt_prefix}/lib/libglobalplatform.dylib" | |
system "./configure", | |
"--prefix=#{prefix}" | |
system "make", "install" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> brew install --debug gppcscconnectionplugin | |
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/gppcscconnectionplugin.rb | |
/usr/local/Library/brew.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/globalplatform.rb | |
/usr/local/Library/Formula/gppcscconnectionplugin.rb (Formulary::StandardLoader): loading /usr/local/Library/Formula/globalplatform.rb | |
==> Downloading https://downloads.sourceforge.net/project/globalplatform/GlobalPlatform%20Library/GlobalPlatform%20Lib | |
Already downloaded: /Library/Caches/Homebrew/gppcscconnectionplugin-1.1.0.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/gppcscconnectionplugin/1.1.0 | |
checking winscard.h presence... no | |
configure: WARNING: winscard.h: accepted by the compiler, rejected by the preprocessor! | |
configure: WARNING: winscard.h: proceeding with the compiler's result | |
checking for winscard.h... yes | |
checking for GLOBALPLATFORM... configure: error: install GlobalPlatform 6.0.0 or later | |
/usr/local/Library/Homebrew/formula.rb:617:in `system' | |
BuildError: Failed executing: ./configure --prefix=/usr/local/Cellar/gppcscconnectionplugin/1.1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ./configure --prefix=/usr/local/Cellar/gppcscconnectionplugin/1.1.0 | |
checking for a BSD-compatible install... /usr/local/bin/ginstall -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk | |
checking whether make sets $(MAKE)... yes | |
checking for gcc... clang | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether clang accepts -g... yes | |
checking for clang option to accept ISO C89... none needed | |
checking for style of include used by make... GNU | |
checking dependency style of clang... gcc3 | |
checking how to run the C preprocessor... clang -E | |
checking build system type... i386-apple-darwin13.1.0 | |
checking host system type... i386-apple-darwin13.1.0 | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | |
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no | |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm | |
checking the name lister (/usr/bin/nm) interface... BSD nm | |
checking whether ln -s works... yes | |
checking the maximum length of command line arguments... 196608 | |
checking whether the shell understands some XSI constructs... yes | |
checking whether the shell understands "+="... yes | |
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r | |
checking for objdump... no | |
checking how to recognize dependent libraries... pass_all | |
checking for ar... ar | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm output from clang object... ok | |
checking for dsymutil... dsymutil | |
checking for nmedit... nmedit | |
checking for lipo... lipo | |
checking for otool... otool | |
checking for otool64... no | |
checking for -single_module linker flag... yes | |
checking for -exported_symbols_list linker flag... yes | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for dlfcn.h... yes | |
checking for objdir... .libs | |
checking if clang supports -fno-rtti -fno-exceptions... yes | |
checking for clang option to produce PIC... -fno-common -DPIC | |
checking if clang PIC flag -fno-common -DPIC works... yes | |
checking if clang static flag -static works... no | |
checking if clang supports -c -o file.o... yes | |
checking if clang supports -c -o file.o... (cached) yes | |
checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin13.1.0 dyld | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... yes | |
checking whether clang and cc understand -c and -o together... yes | |
checking for ANSI C header files... (cached) yes | |
checking stdio.h usability... yes | |
checking stdio.h presence... yes | |
checking for stdio.h... yes | |
checking for stdlib.h... (cached) yes | |
checking for GNU libc compatible malloc... yes | |
checking for vprintf... yes | |
checking for _doprnt... no | |
checking for memcpy... yes | |
checking for vsyslog... yes | |
checking CFLAGS for maximum warnings... -Wall | |
checking for pkg-config... /usr/local/bin/pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking for PCSCLITE... no | |
configure: WARNING: install pcsc-lite 1.2.9-beta7 or later | |
checking winscard.h usability... yes | |
checking winscard.h presence... no | |
configure: WARNING: winscard.h: accepted by the compiler, rejected by the preprocessor! | |
configure: WARNING: winscard.h: proceeding with the compiler's result | |
checking for winscard.h... yes | |
checking for GLOBALPLATFORM... yes | |
checking globalplatform.h usability... yes | |
checking globalplatform.h presence... no | |
configure: WARNING: globalplatform.h: accepted by the compiler, rejected by the preprocessor! | |
configure: WARNING: globalplatform.h: proceeding with the compiler's result | |
checking for globalplatform.h... yes | |
checking for OPGP_VISA2_derive_keys in -lglobalplatform... yes | |
checking openssl/rand.h usability... yes | |
checking openssl/rand.h presence... yes | |
checking for openssl/rand.h... yes | |
checking openssl/err.h usability... yes | |
checking openssl/err.h presence... yes | |
checking for openssl/err.h... yes | |
checking openssl/evp.h usability... yes | |
checking openssl/evp.h presence... yes | |
checking for openssl/evp.h... yes | |
checking openssl/pem.h usability... yes | |
checking openssl/pem.h presence... yes | |
checking for openssl/pem.h... yes | |
checking for PEM_read_PrivateKey in -lcrypto... yes | |
enable debug : false | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating src/Makefile | |
config.status: executing depfiles commands | |
config.status: executing libtool commands | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment