From 00d514652b3c36cb3bb95bedae1161f9d2f3219f Mon Sep 17 00:00:00 2001 From: kyak Date: Sun, 22 May 2011 21:58:02 +0400 Subject: [PATCH] centerim5: initial port --- centerim5/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 centerim5/Makefile diff --git a/centerim5/Makefile b/centerim5/Makefile new file mode 100755 index 0000000..544c965 --- /dev/null +++ b/centerim5/Makefile @@ -0,0 +1,50 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=centerim5 +PKG_VERSION:=alpha +PKG_REV:=20480da1629c7071440ba0aac5dcec9f5f82f7b6 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz +PKG_SOURCE_URL:=git+ssh://mob@repo.or.cz/srv/git/centerim5.git +PKG_SOURCE_PROTO:=git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/centerim5 + SECTION:=net + CATEGORY:=Network + SUBMENU:=Instant Messaging + DEPENDS:=+libpurple +libsigcxx $(INTL_DEPENDS) + TITLE:=Universal IM client + URL:=http://www.centerim.org +endef + +define Build/Prepare + $(call Build/Prepare/Default) + (cd $(PKG_BUILD_DIR) && ./bootstrap) +endef + +TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(INTL_LDFLAGS) +MAKE_FLAGS+="SUBDIRS = cppconsui misc src tests" + +define Package/centerim5/description + Centerim is a multi-protocol messaging client. + Works in a character terminal. +endef + +define Package/centerim5/install + $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/centerim5 $(1)/usr/bin + $(INSTALL_DATA) $(PKG_BUILD_DIR)/cppconsui/.libs/*.so* $(1)/usr/lib +endef + +$(eval $(call BuildPackage,centerim5))