diff options
| author | Alexis Hildebrandt | 2009-12-27 12:34:23 +0100 |
|---|---|---|
| committer | Max Howell | 2010-01-23 12:21:14 +0000 |
| commit | a81879ca8e7cfb0aa904986ff8d49a77064a9c63 (patch) | |
| tree | d858db215e02ce1d2fbcafa3c2f7e2eb7db89962 /Library/Formula | |
| parent | e78349f317f7626b53ff07b68dd2280da9222f8d (diff) | |
| download | homebrew-a81879ca8e7cfb0aa904986ff8d49a77064a9c63.tar.bz2 | |
Tabbed 0.2
Simple generic tabbed fronted to xembed aware applications, originally
designed for surf but also usable with many other application, i.e.
uzbl, urxvt and xterm
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tabbed.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/tabbed.rb b/Library/Formula/tabbed.rb new file mode 100644 index 000000000..a0cf033f5 --- /dev/null +++ b/Library/Formula/tabbed.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Tabbed <Formula + url 'http://dl.suckless.org/tools/tabbed-0.2.tar.gz' + homepage 'http://tools.suckless.org/tabbed' + md5 'fc00ee1a9fd1478561b064cd6a53d494' + head 'http://hg.suckless.org/tabbed' + + def install + inreplace 'config.mk', 'LIBS = -L/usr/lib -lc -lX11', 'LIBS = -L/usr/X11/lib -lc -lX11' + inreplace 'tabbed.1', 'new surf-window.', 'new xterm-window.' + inreplace 'config.def.h', + '{ MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "surf", "-e", winid, NULL} } },', + '{ MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "xterm", "-into", winid, NULL} } },' + system "make PREFIX=#{prefix} install" + end +end |
