Date:2011-05-22 19:58:02 (12 years 10 months ago)
Author:kyak
Commit:e4daa38d94ce4360cd30de8a2f8b48b2ffa45487
Message:centerim5: initial port

Files: centerim5/Makefile (1 diff)

Change Details

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:=20480da1629c7071440ba0aac5dcec9f5f82f7b6
11PKG_RELEASE:=1
12
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
14PKG_SOURCE_URL:=git+ssh://mob@repo.or.cz/srv/git/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))

Archive Download the corresponding diff file



interactive