Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3aede3eb45ef290253133ff27283a032b436ba3e

commit 3aede3eb45ef290253133ff27283a032b436ba3e
Author: James Buren <[EMAIL PROTECTED]>
Date:   Thu Jun 12 00:59:46 2008 -0500

vwm-1.3.5-1-i686
* new package

diff --git a/source/apps-extra/vwm/FrugalBuild 
b/source/apps-extra/vwm/FrugalBuild
new file mode 100644
index 0000000..8506214
--- /dev/null
+++ b/source/apps-extra/vwm/FrugalBuild
@@ -0,0 +1,46 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: James Buren <[EMAIL PROTECTED]>
+
+pkgname=vwm
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="A 'window manager' for your console sessions."
+_F_sourceforge_broken_up2date=1
+Finclude sourceforge
+depends=('libgtop' 'libviper' 'libpseudo')
+groups=('apps-extra')
+archs=('i686' 'x86_64')
+# I'll handle the documentation this time, thank you. ;)
+options=('nodocs')
+sha1sums=('895b4d1f16c1eb1da79eed4adef73dba0ab269de')
+
+build()
+{
+       Fcd $pkgname
+       # lemme fix your optimizations ;D
+       Fsed '-O2' "${CFLAGS}" {Makefile,modules/{ptyterm,sysmon}/Makefile}
+       Fsed '-Wall' "-Wall ${CFLAGS}" keycodes/Makefile
+       # fix include pathing
+       Fsed '-fpic' '-fpic -I../..' modules/sysmon/Makefile
+       # lets compile the sucker
+       make || Fdie
+       make -C modules/sysmon || Fdie
+       # install vwm and headers
+       Fexerel /usr/bin/vwm
+       Ffilerel /usr/include/vwm.h
+       # install ptyterm module
+       Fexerel modules/ptyterm/ptyterm.so /usr/lib/vwm/modules/ptyterm.so
+       Fmkdir /usr/share/terminfo
+       tic -o $Fdestdir/usr/share/terminfo modules/ptyterm/vwmterm-tic.txt || 
Fdie
+       # install sysmon module
+       Fexerel modules/sysmon/sysmon.so /usr/lib/vwm/modules/sysmon.so
+       # install auxiliary programs/resources
+       Fexerel keycodes/keycodes /usr/bin/keycodes
+       Ffilerel samples/vwmrc /usr/share/vwm/vwmrc
+       # install each pieces individual documentation
+       Fdocrel {INSTALL,LICENSE,CHANGELOG}
+       Ffilerel modules/ptyterm/{LICENSE,INSTALL} 
/usr/share/doc/$pkgname-$pkgver/ptyterm
+       Ffilerel modules/sysmon/{LICENSE,INSTALL} 
/usr/share/doc/$pkgname-$pkgver/sysmon
+}
+
+# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to