ekg: Enable parallel build
[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   TITLE:=Eksperymentalny Klient Gadu-Gadu (Polish IM)
26   URL:=http://ekg.chmurka.net
27   DEPENDS:=+zlib +libncurses
28 endef
29
30 CONFIGURE_ARGS+= \
31         --without-c99-vsnprintf \
32         --without-bind \
33         --without-libgsm \
34         --without-libjpeg \
35         --without-libungif \
36         --without-openssl \
37         --disable-libgadu-openssl \
38         --enable-ui-ncurses \
39         --disable-ui-readline \
40
41 CONFIGURE_VARS+= \
42         CFLAGS="$$$$CFLAGS $(TARGET_CPPFLAGS)" \
43         CFLAGS_LIBGADU="$$$$CFLAGS $(TARGET_CPPFLAGS)" \
44
45 define Package/ekg/install
46         $(INSTALL_DIR) $(1)/usr/bin
47         $(CP) $(PKG_INSTALL_DIR)/usr/bin/ekg $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,ekg))