Recent Posts
Latex | 1 sec ago
None | 3 sec ago
None | 18 sec ago
None | 21 sec ago
None | 25 sec ago
None | 48 sec ago
C++ | 53 sec ago
PAWN | 58 sec ago
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Domain Reports
Please check out our new and improved Firefox Add-on. hide message
By bochao on the 6th of Feb 2010 02:49:53 AM Download | Raw | Embed | Report
  1. Name:           dehydra
  2. Version:        0.9
  3. Release:        3%{?dist}
  4. Summary:        Lightweight application that allows users to analyze C++ code
  5.  
  6. License:        GPLv2+
  7. Group:          Applications/Programming
  8. URL:            https://developer.mozilla.org/en/Dehydra
  9. Source0:        http://ftp.mozilla.org/pub/mozilla.org/static-analysis/dehydra/dehydra-%{version}.tar.gz
  10.  
  11. BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: gcc-c++
  13. BuildRequires: mercurial
  14. BuildRequires: autoconf213
  15. BuildRequires: mpfr-devel
  16. BuildRequires: js-devel
  17. BuildRequires: js
  18.  
  19.  
  20. %description
  21. A lightweight, scriptable tool that analyzes C++ code
  22.  
  23. %prep
  24. %setup -q
  25.  
  26. %build
  27.  
  28. export CXX=/home/bchao/tools/gcc-dehydra/installed/bin/g++
  29.  
  30. cd %{_builddir}/%{name}-%{version}
  31.  
  32. %{configure} \
  33.  --js-libs=%{_libdir} \
  34.  --js-headers=%{_libdir} \
  35.  --gcc-build=/home/bchao/tools/gcc-dehydra/gcc-build/
  36.  
  37. make %{?_smp_mflags}
  38.  
  39. %install
  40. rm -rf %{buildroot}
  41. install -dT %{buildroot}/%{_libdir}/%{name}
  42. cp %{_builddir}/%{name}-%{version}/gcc_dehydra.so %{buildroot}/%{_libdir}/%{name}/
  43.  
  44. %clean
  45. rm -rf %{buildroot}
  46.  
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc README COPYING
  50. %{_libdir}/%{name}/gcc_dehydra.so
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: