From: Mirko Vogt Date: Tue, 13 Jan 2009 01:05:40 +0000 (+0000) Subject: - updated to newer version which fixes some bugs X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=7b698b79695fa1f3c26600d9539c35a9e4f89a45 - updated to newer version which fixes some bugs - added init-file SVN-Revision: 14007 --- diff --git a/phone/paroli/Makefile b/phone/paroli/Makefile index 0821923f3e..ee66fd88f0 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 0000000000..aea1635d80 --- /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 +}