OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 12 years 5 months ago. By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries | |
---|---|
1 | # $Id: Makefile 5624 2006-11-23 00:29:07Z Jirka $ |
2 | |
3 | include $(TOPDIR)/rules.mk |
4 | |
5 | PKG_NAME:=mcabber |
6 | PKG_VERSION:=0.9.10 |
7 | PKG_RELEASE:=3 |
8 | # http://mcabber.com/files/mcabber-0.10.0.tar.bz2 |
9 | |
10 | PKG_SOURCE:=mcabber-$(PKG_VERSION).tar.bz2 |
11 | PKG_SOURCE_URL:=http://mcabber.com/files/ |
12 | PKG_MD5SUM:=887415d16c32af58eab2ec2d9bb17fa6 |
13 | PKG_CAT:=bzip2 -cd |
14 | |
15 | PKG_BUILD_DIR:=$(BUILD_DIR)/mcabber-$(PKG_VERSION) |
16 | |
17 | include $(INCLUDE_DIR)/package.mk |
18 | include $(INCLUDE_DIR)/nls.mk |
19 | |
20 | define Package/mcabber |
21 | SECTION:=network |
22 | CATEGORY:=Network |
23 | TITLE:=Mcabber |
24 | DEPENDS:=+libncursesw +libreadline $(INTL_DEPENDS) $(ICONV_DEPENDS) +libcharset +libopenssl |
25 | URL:=http://mcabber.com/ |
26 | endef |
27 | |
28 | define Package/mcabber/description |
29 | Terminal Jabber client. |
30 | endef |
31 | |
32 | EXTRA_CFLAGS += \ |
33 | -I$(STAGING_DIR)/usr/include |
34 | |
35 | EXTRA_LDFLAGS += \ |
36 | -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ |
37 | -lm |
38 | |
39 | |
40 | define Build/Configure |
41 | $(call Build/Configure/Default, \ |
42 | --prefix=/usr --disable-opensearch --with-ssl --disable-gpgme \ |
43 | export READLINE=1 \ |
44 | ) |
45 | endef |
46 | |
47 | define Package/mcabber/install |
48 | $(INSTALL_DIR) $(1)/usr/bin/ |
49 | $(INSTALL_DIR) $(1)/usr/share/mcabber/help/en/ |
50 | $(INSTALL_DIR) $(1)/root/.mcabber/ |
51 | |
52 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mcabber $(1)/usr/bin/ |
53 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/ |
54 | $(INSTALL_DATA) ./files/mcabberrc.example $(1)/root/.mcabber/mcabberrc |
55 | endef |
56 | |
57 | $(eval $(call BuildPackage,mcabber)) |
58 |