Skip to content
Snippets Groups Projects
Commit 37b0c465 authored by Ariadne Conill's avatar Ariadne Conill
Browse files

main/gpsd: fix timepps.h issue

parent c31243b1
No related merge requests found
......@@ -40,10 +40,11 @@ prepare() {
}
build() {
CPPFLAGS="$CPPFLAGS -I. -DHAVE_SYS_TIMEPPS_H"
CPPFLAGS="$CPPFLAGS -I$builddir -DHAVE_SYS_TIMEPPS_H"
scons -j${JOBS:-1} \
prefix=/usr \
target_python=python3 \
python_shebang=/usr/bin/python3 \
dbus_export=no \
systemd=no
}
......@@ -54,9 +55,6 @@ check() {
package() {
DESTDIR="$pkgdir" scons install
# fix python interpreter path
sed -e "s,#!/usr/bin/\(python[23]\?\|env \+python[23]\?\),#!/usr/bin/python3},g" -i \
gegps gpscat gpsfake xgps xgpsspeed gpsprof gps/*.py
install -m755 -D "$srcdir"/gpsd.initd "$pkgdir"/etc/init.d/gpsd
install -m644 -D "$srcdir"/gpsd.confd "$pkgdir"/etc/conf.d/gpsd
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment