centerim5/Makefile |
| 1 | # |
| 2 | # This is free software, licensed under the GNU General Public License v2. |
| 3 | # See /LICENSE for more information. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=centerim5 |
| 9 | PKG_VERSION:=alpha |
| 10 | PKG_REV:=20480da1629c7071440ba0aac5dcec9f5f82f7b6 |
| 11 | PKG_RELEASE:=1 |
| 12 | |
| 13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz |
| 14 | PKG_SOURCE_URL:=git+ssh://mob@repo.or.cz/srv/git/centerim5.git |
| 15 | PKG_SOURCE_PROTO:=git |
| 16 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
| 17 | PKG_SOURCE_VERSION:=$(PKG_REV) |
| 18 | |
| 19 | include $(INCLUDE_DIR)/package.mk |
| 20 | include $(INCLUDE_DIR)/nls.mk |
| 21 | |
| 22 | define 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 |
| 29 | endef |
| 30 | |
| 31 | define Build/Prepare |
| 32 | $(call Build/Prepare/Default) |
| 33 | (cd $(PKG_BUILD_DIR) && ./bootstrap) |
| 34 | endef |
| 35 | |
| 36 | TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(INTL_LDFLAGS) |
| 37 | MAKE_FLAGS+="SUBDIRS = cppconsui misc src tests" |
| 38 | |
| 39 | define Package/centerim5/description |
| 40 | Centerim is a multi-protocol messaging client. |
| 41 | Works in a character terminal. |
| 42 | endef |
| 43 | |
| 44 | define 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 |
| 48 | endef |
| 49 | |
| 50 | $(eval $(call BuildPackage,centerim5)) |