mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 16:05:20 +02:00
[new package] [mcabber] ncurses Jabber client port by Jirka
This commit is contained in:
parent
0b668f9e24
commit
b594e2dfa1
58
mcabber/Makefile
Normal file
58
mcabber/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# $Id: Makefile 5624 2006-11-23 00:29:07Z Jirka $
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mcabber
|
||||
PKG_VERSION:=0.9.10
|
||||
PKG_RELEASE:=3
|
||||
# http://mcabber.com/files/mcabber-0.10.0.tar.bz2
|
||||
|
||||
PKG_SOURCE:=mcabber-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://mcabber.com/files/
|
||||
PKG_MD5SUM:=887415d16c32af58eab2ec2d9bb17fa6
|
||||
PKG_CAT:=bzip2 -cd
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mcabber-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/mcabber
|
||||
SECTION:=network
|
||||
CATEGORY:=Network
|
||||
TITLE:=Mcabber
|
||||
DEPENDS:=+libncurses +libreadline +libintl +libcharset +libopenssl #+ssl
|
||||
URL:=http://mcabber.com/
|
||||
endef
|
||||
|
||||
define Package/mcabber/description
|
||||
Terminal Jabber client.
|
||||
endef
|
||||
|
||||
EXTRA_CFLAGS += \
|
||||
-I$(STAGING_DIR)/usr/lib/libintl/include \
|
||||
-I$(STAGING_DIR)/usr/lib/libiconv/include \
|
||||
-I$(STAGING_DIR)/usr/include
|
||||
|
||||
EXTRA_LDFLAGS += \
|
||||
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib -lm
|
||||
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--prefix=/usr --disable-opensearch --with-ssl --disable-gpgme \
|
||||
export READLINE=1 \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/mcabber/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mcabber $(1)/usr/bin/
|
||||
$(INSTALL_DIR) $(1)/usr/share/
|
||||
$(INSTALL_DIR) $(1)/usr/share/mcabber/
|
||||
$(INSTALL_DIR) $(1)/usr/share/mcabber/help/
|
||||
$(INSTALL_DIR) $(1)/usr/share/mcabber/help/en/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mcabber))
|
Loading…
Reference in New Issue
Block a user