branch Attitude Adjustment packages
[12.09/packages.git] / net / ekg / Makefile
1 #
2 # Copyright (C) 2009-2010 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:=2
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://ekg.chmurka.net/
15 PKG_MD5SUM:=2aa92b56517fdf09d75519a105772b74
16
17 PKG_INSTALL:=1
18 PKG_BUILD_PARALLEL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/ekg
23   SECTION:=net
24   CATEGORY:=Network
25   SUBMENU:=Instant Messaging
26   TITLE:=Eksperymentalny Klient Gadu-Gadu (Polish IM)
27   URL:=http://ekg.chmurka.net
28   DEPENDS:=+zlib +libncurses
29 endef
30
31 CONFIGURE_ARGS+= \
32         --without-c99-vsnprintf \
33         --without-bind \
34         --without-libgsm \
35         --without-libjpeg \
36         --without-libungif \
37         --without-openssl \
38         --disable-libgadu-openssl \
39         --enable-ui-ncurses \
40         --disable-ui-readline \
41
42 CONFIGURE_VARS+= \
43         CFLAGS="$$$$CFLAGS $(TARGET_CPPFLAGS)" \
44         CFLAGS_LIBGADU="$$$$CFLAGS $(TARGET_CPPFLAGS)" \
45
46 define Package/ekg/install
47         $(INSTALL_DIR) $(1)/usr/bin
48         $(CP) $(PKG_INSTALL_DIR)/usr/bin/ekg $(1)/usr/bin/
49 endef
50
51 $(eval $(call BuildPackage,ekg))