original version provided by bios

This commit is contained in:
psyc://psyced.org/~lynX 2011-12-03 16:48:54 +01:00
parent 308ecf7a04
commit 3374a3a165

47
config/openwrt/psyced.mk Normal file
View File

@ -0,0 +1,47 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=psyced
PKG_VERSION:=20090617
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/openwrt-$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=openwrt-$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.psyced.org/files/
PKG_MD5SUM:=a0ab513c6557f83272a03541f03c6ad2
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=Net
CATEGORY:=Network
SUBMENU:=Instant Messaging
DEPENDS:= \
+psyclpc +perl +perlbase-autoloader +perlbase-bytes \
+perlbase-data +perlbase-essential +perlbase-fcntl \
+perlbase-file +perlbase-getopt +perlbase-posix \
+perlbase-tie +perlbase-xsloader +sudo
TITLE:=Interserver multiprotocol messaging server
URL:=http://www.psyced.org/
endef
define Package/$(PKG_NAME)/description
This is psyced, a scalable multi-protocol multi-casting chat,
messaging and social server solution to build decentralized
chat networks upon, released as open source. Powerful, not
bloated, not too hard to get into.
endef
define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/opt/psyced
$(CP) $(PKG_BUILD_DIR)/psyced-20090321/opt/psyced/* $(1)/opt/psyced/
$(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_BUILD_DIR)/psyced-20090321/etc/psyced.ini $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_BUILD_DIR)/psyced-20090321/etc/init.d/psyced $(1)/etc/init.d/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))