2010-07-30 20:21:51 +03:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=centerim
|
2012-03-29 19:34:35 +03:00
|
|
|
PKG_VERSION:=4.22.10
|
|
|
|
PKG_RELEASE:=1
|
2010-07-30 20:21:51 +03:00
|
|
|
|
|
|
|
PKG_SOURCE:=centerim-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.centerim.org/download/releases
|
2012-03-29 19:34:35 +03:00
|
|
|
PKG_MD5SUM:=7565c3c8cac98a4e2d8524076a44676f
|
2010-07-30 20:21:51 +03:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/centerim-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/centerim
|
2010-07-30 22:04:34 +03:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=Instant Messaging
|
2012-10-12 09:29:45 +03:00
|
|
|
DEPENDS:=+libncurses +libreadline +libgpgme +libopenssl +libcurl +libjpeg +libstdcpp +PACKAGE_libncursesw:libncursesw
|
2010-07-30 20:21:51 +03:00
|
|
|
TITLE:=Universal IM client
|
|
|
|
URL:=http://www.centerim.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/centerim/description
|
|
|
|
Centerim is a multi-protocol messaging client.
|
|
|
|
Works in a character terminal.
|
|
|
|
endef
|
|
|
|
|
2010-07-31 17:56:17 +03:00
|
|
|
CONFIGURE_VARS+=ac_cv_lib_ncurses_initscr=yes
|
2010-07-30 22:04:34 +03:00
|
|
|
|
2010-07-30 20:21:51 +03:00
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default, \
|
2010-07-30 22:04:34 +03:00
|
|
|
--prefix=/usr \
|
2010-09-05 17:26:32 +03:00
|
|
|
--with-openssl=$(STAGING_DIR)/usr/lib \
|
2010-07-30 20:21:51 +03:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/centerim/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/centerim $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/misc/cimconv $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/misc/CenterIMLog2HTML.py $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/share/email.wav $(1)/usr/share/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/share/msg.wav $(1)/usr/share/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/share/offline.wav $(1)/usr/share/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/share/online.wav $(1)/usr/share/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/share/sms.wav $(1)/usr/share/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/share/url.wav $(1)/usr/share/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,centerim))
|