Root/centerim5/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=centerim5
9PKG_VERSION:=alpha
10PKG_REV:=5a97f76e6fc5dc0c6c72b923b843f6f66b1f12e6
11PKG_RELEASE:=1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
14PKG_SOURCE_URL:=git://repo.or.cz/centerim5.git
15PKG_SOURCE_PROTO:=git
16PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17PKG_SOURCE_VERSION:=$(PKG_REV)
18
19include $(INCLUDE_DIR)/package.mk
20include $(INCLUDE_DIR)/nls.mk
21
22define Package/centerim5
23    SECTION:=net
24    CATEGORY:=Network
25    SUBMENU:=Instant Messaging
26    DEPENDS:=+libpurple +libsigcxx $(INTL_DEPENDS)
27    TITLE:=Universal IM client
28    URL:=http://www.centerim.org
29endef
30
31define Build/Prepare
32    $(call Build/Prepare/Default)
33    (cd $(PKG_BUILD_DIR) && ./bootstrap)
34endef
35
36TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(INTL_LDFLAGS)
37MAKE_FLAGS+="SUBDIRS = cppconsui misc src tests"
38
39define Package/centerim5/description
40    Centerim is a multi-protocol messaging client.
41    Works in a character terminal.
42endef
43
44define Package/centerim5/install
45    $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib
46    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/centerim5 $(1)/usr/bin
47    $(INSTALL_DATA) $(PKG_BUILD_DIR)/cppconsui/.libs/*.so* $(1)/usr/lib
48endef
49
50$(eval $(call BuildPackage,centerim5))
51

Archive Download this file



interactive