2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://gnokii.org/download/gnokii/0.6.x
16 PKG_MD5SUM:=bbf0aabe2436d8e927f3e2edb4efcac8
22 include $(INCLUDE_DIR)/package.mk
28 TITLE:=Gnokii - Datasuite for the mobile phones
29 URL:=http://www.gnokii.org/
32 define Package/gnokii/description
33 Gnokii is a suite of programs linked against a backend
34 library that allows communication with the phones. It
35 currently supports the most mobile phones, all AT
36 capable mobiles as well as Symbian phones.
39 define Build/Configure
40 $(call Build/Configure/Default, \
41 --without-libiconv-prefix \
42 --without-libintl-prefix \
48 --disable-libpcsclite \
56 define Package/gnokii/install
57 $(INSTALL_DIR) $(1)/usr/bin
58 $(INSTALL_DIR) $(1)/usr/sbin
59 $(INSTALL_DIR) $(1)/usr/lib
60 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gnokii $(1)/usr/bin
61 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gnokiid $(1)/usr/sbin
62 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mgnokiidev $(1)/usr/sbin
63 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnokii.so.3.5.0 $(1)/usr/lib
64 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnokii.so.3 $(1)/usr/lib
65 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnokii.so $(1)/usr/lib
68 $(eval $(call BuildPackage,gnokii))