You are not logged in.
Hi to everyone.
Could anyone package this?: DomotiGa
DomotiGa is Open Source Home Automation Software from the Netherlands. It is written in Gambas Basic and runs on Linux.
You can read all kinds of sensor values with it, let it detect motion and schedule lights at certain times by the use of several hardware, for example an RFXCom receiver, Xanura CTX35 A10/X10 controller and Midon TEMP08 1-wire interface and more … It is released under the GPL v3 License.
A lot of thanks.
Offline
This was pretty straightforward. Installed and ran just fine. The only question remaining is where should all this crap get installed to? I'll let you figure that out. Here's a fully functional PKGBUILD that does everything except copy the files.
# Maintainer: your info here
pkgname=domotiga
pkgver=929
pkgrel=1
pkgdesc="description needed"
arch=('any')
url="http://www.domotiga.nl/projects/domotiga/"
license=('GPLv3')
depends=('gambas2')
makedepends=('svn')
_svn="http://svn.domotiga.nl/domotiga/trunk/"
build() {
cd "$srcdir"
svn co $_svn $pkgname
}
package() {
cd "$srcdir/$pkgname"
# where the hell should all this crap go?
#install -D <files> $pkgdir/usr/lib/demotiga
# also install .desktop file to applications
# probably best to make a script to call demotiga.gambas and put the script in /usr/bin.
}
Note, nothing gets built. You just download the binary and run it.
Last edited by Trilby (2012-07-24 23:16:15)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
The only question remaining is where should all this crap get installed to?
If in doubt, just put the whole thing in /opt/domotiga
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
That's what I started thinking too.
Perhaps a short script or link in /usr/bin to run the domotiga.gambas app.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline