1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
"name": "Sleepwatcher",
"description": "Monitors sleep, wakeup, and idleness of a Mac",
"url": "https://www.bernhard-baehr.de/sleepwatcher_2.2.tgz",
"mirror": null,
"homepage": "https://www.bernhard-baehr.de/",
"depends": [],
"resource": [],
"conflicts": [],
"patches": [],
"install": [
"inreplace \"sources/Makefile\" do |s|",
"s.gsub! /^(CFLAGS)_PPC.*$/, \"\\\\1 = #{ENV.cflags} -prebind\"",
"s.gsub! /^(CFLAGS_X86)/, \"#\\\\1\"",
"s.change_make_var! \"BINDIR\", \"$(PREFIX)/sbin\"",
"s.change_make_var! \"MANDIR\", \"$(PREFIX)/share/man\"",
"s.gsub! /^(.*?)CFLAGS_PPC(.*?)[.]ppc/, \"\\\\1CFLAGS\\\\2\"",
"s.gsub! /^(.*?CFLAGS_X86.*?[.]x86)/, \"#\\\\1\"",
"s.gsub! /^(\\t(lipo|rm).*?[.](ppc|x86))/, \"#\\\\1\"",
"s.gsub! \"-o root -g wheel\", \"\""
],
"version": "2.2",
"file": "sleepwatcher.rb"
}
|