diff options
| author | Chad Catlett | 2014-01-29 08:00:37 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2014-01-29 19:26:03 -0800 |
| commit | a19948e44152c0e849dfffb5b5286767755a5f04 (patch) | |
| tree | 003544d5168d22e4061ac3a5a48ca356b3b275bc /Library/Formula/libtomcrypt.rb | |
| parent | 0006d304e02db87bb2fca24cd828ca21426a786f (diff) | |
| download | homebrew-a19948e44152c0e849dfffb5b5286767755a5f04.tar.bz2 | |
libtomcrypt 1.17
Closes #25895.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/libtomcrypt.rb')
| -rw-r--r-- | Library/Formula/libtomcrypt.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/libtomcrypt.rb b/Library/Formula/libtomcrypt.rb new file mode 100644 index 000000000..c17f91fa7 --- /dev/null +++ b/Library/Formula/libtomcrypt.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Libtomcrypt < Formula + homepage 'http://libtom.org/?page=features&whatfile=crypt' + url 'http://libtom.org/files/crypt-1.17.tar.bz2' + sha256 'e33b47d77a495091c8703175a25c8228aff043140b2554c08a3c3cd71f79d116' + + depends_on 'libtommath' + + def install + ENV['DESTDIR'] = prefix + ENV['CFLAGS'] += "-DLTM_DESC -DUSE_LTM" + ENV['EXTRALIBS'] = "-ltommath" + + system "make", "library" + include.install Dir['src/headers/*'] + lib.install 'libtomcrypt.a' + end +end |
