From 3374a3a165d5a7159d05b4d8fdf47f07c921732c Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Sat, 3 Dec 2011 16:48:54 +0100 Subject: [PATCH] original version provided by bios --- config/openwrt/psyced.mk | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 config/openwrt/psyced.mk diff --git a/config/openwrt/psyced.mk b/config/openwrt/psyced.mk new file mode 100644 index 0000000..99b7318 --- /dev/null +++ b/config/openwrt/psyced.mk @@ -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))) +