1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 20:46:17 +02:00

climm: disable xmpp, make it compile

This commit is contained in:
Xiangfu Liu 2011-05-25 20:00:03 +08:00
parent 3f8b21cec4
commit 4379b2cd2a

View File

@ -7,9 +7,8 @@ PKG_VERSION:=0.7.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=climm-$(PKG_VERSION).tgz PKG_SOURCE:=climm-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.climm.org/source/ PKG_SOURCE_URL:=http://www.climm.org/source/
#PKG_MD5SUM:=887415d16c32af58eab2ec2d9bb17fa6 PKG_CAT:=zcat
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/climm-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/climm-$(PKG_VERSION)
@ -20,27 +19,19 @@ define Package/climm
SECTION:=network SECTION:=network
CATEGORY:=Network CATEGORY:=Network
TITLE:=Climm TITLE:=Climm
DEPENDS:=+zlib +libncurses +libreadline $(INTL_DEPENDS) +libcharset +libopenssl +libgnutls +libgnutls-openssl
URL:=http://www.climm.org/ URL:=http://www.climm.org/
DEPENDS:=+zlib +libncurses +libreadline $(INTL_DEPENDS) +libcharset +libopenssl +libgnutls +libgnutls-openssl
endef endef
define Package/climm/description define Package/climm/description
Terminal Jabber client. Terminal Jabber client.
endef endef
EXTRA_CFLAGS += \ TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
-I$(STAGING_DIR)/usr/include TARGET_LDFLAGS += -lm -lz
EXTRA_LDFLAGS += \ # when enalbe xmpp, the IKS_LIBS get wrong value
-lm -lz CONFIGURE_ARGS += --disable-xmpp
define Build/Configure
$(call Build/Configure/Default, \
--prefix=/usr --with-ssl \
export READLINE=1 \
)
endef
define Package/climm/install define Package/climm/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/