Root/centerim/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=centerim
4PKG_VERSION:=4.22.9
5PKG_RELEASE:=4
6
7PKG_SOURCE:=centerim-$(PKG_VERSION).tar.gz
8PKG_SOURCE_URL:=http://www.centerim.org/download/releases
9PKG_MD5SUM:=c43911508205e0277529230c8316a298
10
11PKG_BUILD_DIR:=$(BUILD_DIR)/centerim-$(PKG_VERSION)
12
13include $(INCLUDE_DIR)/package.mk
14
15define Package/centerim
16    SECTION:=net
17    CATEGORY:=Network
18    SUBMENU:=Instant Messaging
19    DEPENDS:=+libncurses +libreadline +gpgme +libopenssl +libcurl
20    TITLE:=Universal IM client
21    URL:=http://www.centerim.org
22endef
23
24define Package/centerim/description
25    Centerim is a multi-protocol messaging client.
26    Works in a character terminal.
27endef
28
29CONFIGURE_VARS+=ac_cv_lib_ncurses_initscr=yes
30
31define Build/Configure
32    $(call Build/Configure/Default, \
33        --prefix=/usr \
34        --with-openssl=$(STAGING_DIR)/usr/lib \
35    )
36endef
37
38
39define Package/centerim/install
40    $(INSTALL_DIR) $(1)/usr/bin
41    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/centerim $(1)/usr/bin/
42    $(INSTALL_BIN) $(PKG_BUILD_DIR)/misc/cimconv $(1)/usr/bin/
43    $(INSTALL_BIN) $(PKG_BUILD_DIR)/misc/CenterIMLog2HTML.py $(1)/usr/bin/
44    $(INSTALL_DIR) $(1)/usr/share
45    $(INSTALL_BIN) $(PKG_BUILD_DIR)/share/email.wav $(1)/usr/share/
46    $(INSTALL_BIN) $(PKG_BUILD_DIR)/share/msg.wav $(1)/usr/share/
47    $(INSTALL_BIN) $(PKG_BUILD_DIR)/share/offline.wav $(1)/usr/share/
48    $(INSTALL_BIN) $(PKG_BUILD_DIR)/share/online.wav $(1)/usr/share/
49    $(INSTALL_BIN) $(PKG_BUILD_DIR)/share/sms.wav $(1)/usr/share/
50    $(INSTALL_BIN) $(PKG_BUILD_DIR)/share/url.wav $(1)/usr/share/
51endef
52
53$(eval $(call BuildPackage,centerim))
54

Archive Download this file



interactive