Change Details
climm/Makefile |
| 1 | # $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ |
| 2 | |
| 3 | include $(TOPDIR)/rules.mk |
| 4 | |
| 5 | PKG_NAME:=climm |
| 6 | PKG_VERSION:=0.7.1 |
| 7 | PKG_RELEASE:=1 |
| 8 | |
| 9 | PKG_SOURCE:=climm-$(PKG_VERSION).tgz |
| 10 | PKG_SOURCE_URL:=http://www.climm.org/source/ |
| 11 | #PKG_MD5SUM:=887415d16c32af58eab2ec2d9bb17fa6 |
| 12 | PKG_CAT:=zcat |
| 13 | |
| 14 | PKG_BUILD_DIR:=$(BUILD_DIR)/climm-$(PKG_VERSION) |
| 15 | |
| 16 | include $(INCLUDE_DIR)/package.mk |
| 17 | |
| 18 | define Package/climm |
| 19 | SECTION:=network |
| 20 | CATEGORY:=Network |
| 21 | TITLE:=Climm |
| 22 | DEPENDS:=+zlib +libncurses +libreadline +libintl +libcharset +libopenssl +libgnutls +libgnutls-openssl |
| 23 | URL:=http://www.climm.org/ |
| 24 | endef |
| 25 | |
| 26 | define Package/climm/description |
| 27 | Terminal Jabber client. |
| 28 | endef |
| 29 | |
| 30 | EXTRA_CFLAGS += \ |
| 31 | -I$(STAGING_DIR)/usr/lib/libintl/include \ |
| 32 | -I$(STAGING_DIR)/usr/lib/libiconv/include \ |
| 33 | -I$(STAGING_DIR)/usr/include |
| 34 | |
| 35 | EXTRA_LDFLAGS += \ |
| 36 | -L$(STAGING_DIR)/usr/lib/libintl/lib \ |
| 37 | -L$(STAGING_DIR)/usr/lib/libiconv/lib -lm -lz |
| 38 | |
| 39 | |
| 40 | define Build/Configure |
| 41 | $(call Build/Configure/Default, \ |
| 42 | --prefix=/usr --with-ssl \ |
| 43 | export READLINE=1 \ |
| 44 | ) |
| 45 | endef |
| 46 | |
| 47 | define Package/climm/install |
| 48 | $(INSTALL_DIR) $(1)/usr/bin/ |
| 49 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/climm $(1)/usr/bin/ |
| 50 | endef |
| 51 | |
| 52 | $(eval $(call BuildPackage,climm)) |
Download the corresponding diff file