[Frugalware-darcs] frugalware-current: light-monitor-v1.6-1-x86_64

Christian Hamar alias krix krics at linuxforum.hu
Tue Jul 3 17:14:14 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070703151315-d209c-217a56bf398772a911fe2b7f2548ef5cd87ecbc7.gz;

[light-monitor-v1.6-1-x86_64
Christian Hamar alias krix <krics at linuxforum.hu>**20070703151315
   * New package / Initial import
 
] {
adddir ./source/xapps-extra/light-monitor
addfile ./source/xapps-extra/light-monitor/FrugalBuild
hunk ./source/xapps-extra/light-monitor/FrugalBuild 1
+# Compiling Time: 0.07 SBU
+# Maintainer: Christian Hamar alias krix <krics at linuxforum.hu>
+
+pkgname=light-monitor
+pkgver=v1.6
+pkgrel=1
+pkgdesc="light-monitor is a transparent panel with dependency only on X and Xft for 40Ko."
+url="http://www.dixsous.org/index.php?monitor"
+depends=('libxft' 'libx11' 'libxpm')
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+backup=('etc/light-monitor.conf')
+up2date="lynx --dump http://www.dixsous.org/download/ | grep $pkgname | Flasttgz"
+source=(http://www.dixsous.org/download//$pkgname-$pkgver.tgz \
+	makefile-fixes.patch)
+sha1sums=('7976001d6a4bd3743f01fecb28c7a2798c60416d' \
+          '6cf83c0f2d95b4f54effe845d3e3ef3ec9ccf117')
+
+build() {
+	Fbuild
+	Fdoc $pkgname-$pkgver/gpl.txt
+}
+
+# optimization OK
addfile ./source/xapps-extra/light-monitor/makefile-fixes.patch
hunk ./source/xapps-extra/light-monitor/makefile-fixes.patch 1
+diff -Naur light-monitor-v1.6.orig/makefile light-monitor-v1.6/makefile
+--- light-monitor-v1.6.orig/makefile	2007-07-03 17:08:26.000000000 +0200
++++ light-monitor-v1.6/makefile	2007-07-03 17:08:54.000000000 +0200
+@@ -1,7 +1,7 @@
+ DEST=light-monitor-v1.6
+ all : light-monitor light-calendar 
+ 
+-OPTS=-O2 -Wall 
++OPTS=${CFLAGS}
+ #OPTS=-g -Wall #-DDEBUG
+ 
+ XFTCFLAGS=`xft-config --cflags`
+@@ -57,6 +57,8 @@
+ 
+ 
+ install:
+-	install -m 0755 -s light-monitor /usr/bin/
+-	install -m 0755 -s light-calendar /usr/bin/
+-	install -m 0644    light-monitor.conf /etc/
++	install -d ${DESTDIR}/usr/bin/
++	install -d ${DESTDIR}/etc/
++	install -m 0755 light-monitor ${DESTDIR}/usr/bin/
++	install -m 0755 light-calendar ${DESTDIR}/usr/bin/
++	install -m 0644    light-monitor.conf ${DESTDIR}/etc/
}


More information about the Frugalware-darcs mailing list