diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nspr.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/nspr.rb b/Library/Formula/nspr.rb index 174a38336..92fa67915 100644 --- a/Library/Formula/nspr.rb +++ b/Library/Formula/nspr.rb @@ -22,6 +22,21 @@ class Nspr < Formula system "make" system "make install" + (lib+'pkgconfig/nspr.pc').write pkg_file end end + + def pkg_file; <<-EOF +prefix=#{HOMEBREW_PREFIX} +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/nspr + +Name: NSPR +Description: Netscape Portable Runtime +Version: 4.8.8 +Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 +Cflags: -I${includedir} +EOF + end end |
