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
This commit is contained in:
Alexis Hildebrandt 2009-12-27 12:34:23 +01:00 committed by Max Howell
parent 3c07766a30
commit 53a25ee264

17
Formula/tabbed.rb Normal file
View file

@ -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