X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=package%2FMakefile;h=e350ed844b4db4c7f83aeb28a8141d0c4d373256;hb=6bbfa7baf036436e24d903659103d34913faf127;hp=220ec0f8a41b7af3c404d3e7904467c1a2d7ed66;hpb=29063eb85be25d97d2c62546fbd66d03da657807;p=wifi-assistant diff --git a/package/Makefile b/package/Makefile index 220ec0f..e350ed8 100644 --- a/package/Makefile +++ b/package/Makefile @@ -7,7 +7,7 @@ DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') compile: - #perl -pi -e "s/(WimpWorks\.__init__.*?version\s*=\s*)['\"].*?['\"]/\1'${DEBVERS}'/" src/wifi-assistant/config-gui.py + sed -i -e 's/VERSION = .*/VERSION = "${DEBVERS}"/' src/wifi_assistant/gui/about_dialog.py perl -ni -e 'print; exit if /^XB-Maemo-Icon-26:$$/' debian/control uuencode -m share/wifi-assistant-48.png - | perl -ne 'print " $$_" unless $$. == 1 or /^====$$/' >>debian/control py_compilefiles `find src -type f -name '*.py'` @@ -25,7 +25,8 @@ install: install -D -m 0644 -o root -g root share/wifi-assistant-64.png ${DESTDIR}/usr/share/icons/hicolor/scalable/hildon/wifi-assistant.png install -D -m 0644 -o root -g root share/wifi-assistant-48.png ${DESTDIR}/usr/share/icons/hicolor/48x48/hildon/wifi-assistant.png install -D -m 0644 -o root -g root share/wifi-assistant.desktop ${DESTDIR}/usr/share/applications/hildon/wifi-assistant.desktop - install -D -m 0644 -o root -g root share/wifi-assistant.service ${DESTDIR}/usr/share/dbus-1/services/wifi-assistant.service +# install -D -m 0644 -o root -g root share/wifi-assistant.service ${DESTDIR}/usr/share/dbus-1/services/wifi-assistant.service + install -D -m 0644 -o root -g root share/upstart ${DESTDIR}/etc/event.d/wifi-assistant chmod 755 ${DESTDIR}/opt/wifi-assistant/lib/gui.sh chmod 755 ${DESTDIR}/opt/wifi-assistant/lib/daemon.sh #cd po && $(MAKE) install