[Lunar-commits] r17554 - moonbase/trunk/utils/gnokii
Dennis Veatch
stumbles at lunar-linux.org
Sat Dec 3 16:56:08 UTC 2005
Author: stumbles
Date: 2005-12-03 16:56:05 +0000 (Sat, 03 Dec 2005)
New Revision: 17554
Added:
moonbase/trunk/utils/gnokii/POST_INSTALL
Modified:
moonbase/trunk/utils/gnokii/BUILD
Log:
There were a few more changes then anticipated.
Need the gnokiirc from docs unless you want to build one from
scratch. Makes a group gnokii if your so inclinded to use one
and sets locking to no, else the thing won't start complaining
about a lock file.
The gnokiirc *may be* needed in a users ~/.gnokiirc dir.
At this point it lanunches but I do not have a device to test fully
with, so if additional tweaking is needed just holler.
Modified: moonbase/trunk/utils/gnokii/BUILD
===================================================================
--- moonbase/trunk/utils/gnokii/BUILD 2005-12-03 15:17:18 UTC (rev 17553)
+++ moonbase/trunk/utils/gnokii/BUILD 2005-12-03 16:56:05 UTC (rev 17554)
@@ -4,6 +4,15 @@
if echo $OPTS | grep -q 'with-x' ; then
sedit "s:LDLIBS += :LDLIBS += -lXpm :" xgnokii/Makefile
fi
- default_build
+ ./configure --prefix=/usr \
+ $OPTS &&
+
+ make &&
+ make install-docs &&
+ cp Docs/sample/gnokiirc /etc/gnokiirc &&
+ make install-suid &&
+ prepare_install &&
+ make install
+
) > $C_FIFO 2>&1
Added: moonbase/trunk/utils/gnokii/POST_INSTALL
===================================================================
--- moonbase/trunk/utils/gnokii/POST_INSTALL 2005-12-03 15:17:18 UTC (rev 17553)
+++ moonbase/trunk/utils/gnokii/POST_INSTALL 2005-12-03 16:56:05 UTC (rev 17554)
@@ -0,0 +1,10 @@
+if [ 'grep gnokii /etc/group' != 'gnokii' ]
+ then
+ groupadd gnokii
+ fi
+
+ if [ ! -e /etc/gnokiirc ]; then
+ cp Docs/sample/gnokiirc /etc/gnokiirc
+ fi
+
+ sedit "s:use_locking = yes:use_locking = no:" /etc/gnokiirc
More information about the Lunar-commits
mailing list