ice-client: remove torrent package

This commit is contained in:
Sukru Senli 2016-01-27 15:14:58 +01:00
parent da5615d50a
commit 701cc69a03

View file

@ -809,72 +809,6 @@ fi
exit 0
endef
# torrent
define Package/ice-client-torrent
$(call Package/ice-client/Default)
TITLE:=torrent
DEPENDS+= +boost-system
# boost Boost C++ source libraries (header-only)
# boost-chrono Boost C++ source libraries (chrono)
# boost-date_time Boost C++ source libraries (date_time)
# boost-filesystem Boost C++ source libraries (filesystem)
# boost-graph Boost C++ source libraries (graph)
# boost-iostreams Boost C++ source libraries (iostreams)
# boost-locale Boost C++ source libraries (locale)
# boost-math Boost C++ source libraries (math)
# boost-program_options Boost C++ source libraries (program_options)
# boost-python Boost C++ source libraries (python)
# boost-random Boost C++ source libraries (random)
# boost-regex Boost C++ source libraries (regex)
# boost-serialization Boost C++ source libraries (serialization)
# boost-signals Boost C++ source libraries (signals)
# boost-timer Boost C++ source libraries (timer)
#boost-wave Boost C++ source libraries (wave)
endef
define Package/ice-client-torrent/description
torrent module for ice-client
endef
define Package/ice-client-torrent/prerm
#!/bin/sh
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
PROC_ID=$$(cat /tmp/ice.pid)
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
if [ -n "$$PROC_EXISTS" ]; then
read -t 1 <>/tmp/cfout
echo "system moduleRemove topic=torrentMgr" > /tmp/cfin
fi
exit 0
endef
define Package/ice-client-torrent/preinst
#!/bin/sh
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
PROC_ID=$$(cat /tmp/ice.pid)
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
if [ -n "$$PROC_EXISTS" ]; then
read -t 1 <>/tmp/cfout
echo "system moduleRemove topic=torrentMgr" > /tmp/cfin
fi
exit 0
endef
define Package/ice-client-torrent/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/core/lib/torrentService.so.1.0.1 $(1)/usr/lib
endef
define Package/ice-client-torrent/postinst
#!/bin/sh
read -t 1 <>/tmp/cfout
if [ -f /tmp/ice.pid ]; then
echo "system moduleAdd file=torrentService.so.1.0.1" package="ice-client-torrent" > /tmp/cfin
fi
exit 0
endef
# gigaset
define Package/ice-client-gigaset
$(call Package/ice-client/Default)
@ -942,5 +876,4 @@ $(eval $(call BuildPackage,ice-client-rshell))
$(eval $(call BuildPackage,ice-client-rework))
$(eval $(call BuildPackage,ice-client-sip))
$(eval $(call BuildPackage,ice-client-monitor))
$(eval $(call BuildPackage,ice-client-torrent))
$(eval $(call BuildPackage,ice-client-gigaset))