- updated to newer version which fixes some bugs

- added init-file


git-svn-id: svn://svn.openwrt.org/openwrt/packages@14007 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2009-01-13 01:05:40 +00:00
parent 00d755ad50
commit 85152b6b1e
2 changed files with 20 additions and 4 deletions

View File

@ -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/

View File

@ -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
}