Commit a1a8798b authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Merge pull request #1339 from uberhacker/fix-libpstat-package

Add include option in make for libpstat
parents 645a055d d0d0b92d
......@@ -3,12 +3,14 @@ require 'package'
class Libpstat < Package
description 'Library for getting information about running processes'
homepage 'https://github.com/jcnelson/libpstat'
version '030f37'
version '030f37-1'
source_url 'https://github.com/jcnelson/libpstat/archive/030f37a9d22ef3b8be839d487c97759e6126c30f.tar.gz'
source_sha256 '71e5d3f190fe045b38f31dfa9b5962fb6ea4099f46b25981b411122569ff6b30'
def self.build
system "make"
system "sed -i 's,PREFIX ?= /usr/local,PREFIX ?= #{CREW_PREFIX},' Makefile"
system "sed -i 's,LIBDIR ?= $(DESTDIR)/$(PREFIX)/lib,LIBDIR ?= $(DESTDIR)/#{CREW_LIB_PREFIX},' Makefile"
system "make -I #{CREW_PREFIX}/include"
end
def self.install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment