-actman (0.1-1) unstable; urgency=low
+drlaunch (0.1-1) unstable; urgency=low
* Initial release
+++ /dev/null
-#!/bin/sh
-# postinst script for wifieye
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <postinst> `abort-remove'
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- configure)
- LNK="/usr/lib/hildon-desktop/drlaunch.py"
-
- if ! test -e "$LNK" ; then
- ln -s "/usr/shared/pyshared/drlaunch/drlaunch.py" "$LNK"
- fi
-# echo "Reloading actman applet"
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-exit 0
-
--- /dev/null
+#!/bin/sh
+# postinst script for wifieye
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ configure)
+ LNK="/usr/lib/hildon-desktop/drlaunch.py"
+
+ if ! test -e "$LNK" ; then
+ ln -s "/usr/shared/pyshared/drlaunch/drlaunch.py" "$LNK"
+ fi
+# echo "Reloading actman applet"
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
#!/usr/bin/make -f
+#DEB_PYTHON_VERSIONS:=2.5
+DEB_PYTHON_SYSTEM=pysupport
+
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+PYVERS = $(shell pyversions -vd)
+
+cdbs_python_current_binary := $(shell pyversions -d)
+
+DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 --install-layout=deb
+
+install/drlaunch::
+ dh_install drlaunch.py usr/lib/hildon-desktop/
+ dh_install misc/drlaunch.desktop usr/share/applications/hildon-home/
+
+python-build-stamp-%:
+ifeq (all, $(cdbs_python_module_arch))
+ cd $(DEB_SRCDIR) && $(cdbs_python_current_binary) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+else
+ cd $(DEB_SRCDIR) && $(cdbs_python_current_binary) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+endif # archall detection
+ touch $@
-#install/actman::
-# dh_install scripts/activity /usr/bin
-# dh_install applet/actman.py /usr/lib/hildon-desktop
-# dh_install applet/actman.desktop \
-# /usr/share/applications/hildon-status-menu
+# install stage
+ifeq (all, $(cdbs_python_module_arch))
+common-install-arch common-install-indep:: python-install-py
+python-install-py:
+ cd $(DEB_SRCDIR) && $(cdbs_python_current_binary) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
+else
+common-install-arch common-install-indep:: $(addprefix python-install-, $(cdbs_python_build_versions))
+python-install-%:
+ cd $(DEB_SRCDIR) && $(cdbs_python_current_binary) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
+endif # archall detection