From 22fda573df36a625c4d17bd9dbe2aafcb79c6502 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Tue, 13 Jan 2009 01:05:40 +0000 Subject: [PATCH] - updated to newer version which fixes some bugs - added init-file SVN-Revision: 14007 --- phone/paroli/Makefile | 13 +++++++++---- phone/paroli/files/paroli.init | 11 +++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 phone/paroli/files/paroli.init diff --git a/phone/paroli/Makefile b/phone/paroli/Makefile index 0821923f3..ee66fd88f 100644 --- a/phone/paroli/Makefile +++ b/phone/paroli/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=paroli -PKG_VERSION:=20090104 -PKG_REV:=b966ed25a0b0550daa883e9288bf1855d1f1be2a +PKG_VERSION:=20090112 +PKG_REV:=81db9c1a2abd7d56300867b04d4c541e34bb8165 PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -36,17 +36,22 @@ define Package/paroli/description endef define Build/Compile + $(call Build/Compile/PyMod,,build) $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr") endef define Package/paroli/install - $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(1)/usr/bin $(1)/etc $(1)/usr/share/applications/paroli + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/usr/share/applications/paroli $(1)/usr/share/paroli $(CP) \ $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ $(1)$(PYTHON_PKG_DIR) - $(CP) \ + $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/* \ $(1)/usr/bin/ + $(INSTALL_BIN) ./files/paroli.init $(1)/etc/init.d/paroli + $(CP) \ + $(PKG_INSTALL_DIR)/usr/paroli/* \ + $(1)/usr/share/paroli/ $(CP) \ $(PKG_INSTALL_DIR)/usr/applications/* \ $(1)/usr/share/applications/paroli/ diff --git a/phone/paroli/files/paroli.init b/phone/paroli/files/paroli.init new file mode 100644 index 000000000..aea1635d8 --- /dev/null +++ b/phone/paroli/files/paroli.init @@ -0,0 +1,11 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org +START=99 + +start() { + LD_PRELOAD=/usr/lib/libX11.so /usr/bin/paroli-launcher & # LD_PRELOAD to workaround some runtime linking problems - needs to be fixed +} + +stop() { + killall paroli-launcher +} -- 2.30.2