[packages] ekg: explicitely disable libbind & libgsm, use 'make install', cleanup
[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-bind \
30 --without-libgsm \
31 --without-libjpeg \
32 --without-libungif \
33 --without-openssl \
34 --disable-libgadu-openssl \
35 --enable-ui-ncurses \
36 --disable-ui-readline \
37
38 CONFIGURE_VARS+= \
39 CFLAGS="$$$$CFLAGS $(TARGET_CPPFLAGS)" \
40 CFLAGS_LIBGADU="$$$$CFLAGS $(TARGET_CPPFLAGS)" \
41
42 define Build/Compile
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
45 all install
46 endef
47
48 define Package/ekg/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(CP) $(PKG_INSTALL_DIR)/usr/bin/ekg $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,ekg))