[package] add ekg (#5892)
[openwrt/svn-archive/archive.git] / net / ekg / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ekg
10 PKG_VERSION:=1.7
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://ekg.chmurka.net/
15 PKG_MD5SUM:=2aa92b56517fdf09d75519a105772b74
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/ekg
20 SECTION:=net
21 CATEGORY:=Network
22 TITLE:=Eksperymentalny Klient Gadu-Gadu (Polish IM)
23 URL:=http://ekg.chmurka.net
24 DEPENDS:=+zlib +libncurses
25 endef
26
27 CONFIGURE_ARGS += \
28 --without-c99-vsnprintf \
29 --without-libungif \
30 --without-libjpeg \
31 --without-openssl \
32 --disable-libgadu-openssl \
33 --enable-ui-ncurses \
34 --disable-ui-readline \
35 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
36 CFLAGS_LIBGADU="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include"
37
38 define Package/ekg/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(CP) $(PKG_BUILD_DIR)/src/ekg $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,ekg))