blob: 45f8f914bab0fe40a695dd71013a8a7851f16b0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gnokii
PKG_VERSION:=0.6.21
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://gnokii.org/download/gnokii/0.6.x
PKG_MD5SUM:=bbf0aabe2436d8e927f3e2edb4efcac8
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=0
include $(INCLUDE_DIR)/package.mk
define Package/gnokii
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libusb-compat
TITLE:=Gnokii - Datasuite for the mobile phones
URL:=http://www.gnokii.org/
endef
define Package/gnokii/description
Gnokii is a suite of programs linked against a backend
library that allows communication with the phones. It
currently supports the most mobile phones, all AT
capable mobiles as well as Symbian phones.
endef
define Build/Configure
$(call Build/Configure/Default, \
--without-libiconv-prefix \
--without-libintl-prefix \
--disable-rlpdebug \
--disable-xdebug \
--disable-debug \
--enable-shared \
--disable-static \
--disable-libpcsclite \
--disable-libical \
--disable-irda \
--disable-bluetooth \
--without-x \
)
endef
define Package/gnokii/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gnokii $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gnokiid $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mgnokiidev $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnokii.so.3.5.0 $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnokii.so.3 $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnokii.so $(1)/usr/lib
endef
$(eval $(call BuildPackage,gnokii))
|