gpsd version bump
can't builded.
This commit is contained in:
+11
-16
@@ -8,33 +8,28 @@ from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.touch("%s/ChangeLog" % get.curDIR())
|
||||
autotools.autoreconf("-fi")
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-libQgpsmm \
|
||||
--enable-dbus")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
from pisi.actionsapi import scons
|
||||
|
||||
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
scons.make( "prefix=/usr \
|
||||
systemd=no \
|
||||
libQgpsmm=no \
|
||||
PYTHONPATH=/usr/bin/python")
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
scons.install("--install-sandbox=%s" % get.installDIR())
|
||||
|
||||
# We're using conf.d instead of sysconfig
|
||||
pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/")
|
||||
#pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/")
|
||||
|
||||
# Install UDEV files
|
||||
pisitools.insinto("/lib/udev/rules.d", "gpsd.rules", "99-gpsd.rules")
|
||||
pisitools.dobin("gpsd.hotplug", "/lib/udev")
|
||||
pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev")
|
||||
#pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev")
|
||||
|
||||
# Fix permissions
|
||||
shelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" % (get.installDIR(), get.curPYTHON()))
|
||||
#lsshelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" % (get.installDIR(), get.curPYTHON()))
|
||||
|
||||
pisitools.dodoc("README", "TODO", "AUTHORS", "COPYING")
|
||||
|
||||
Reference in New Issue
Block a user