2 # Copyright (C) 2006 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
12 PKG_REV
:=120c1aca795fd28b50e361eb908786ed25f98253
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://git.paroli-project.org
/paroli.git
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
21 PKG_BUILD_DEPENDS
:=python
23 include $(INCLUDE_DIR
)/package.mk
24 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
29 TITLE
:=integrated phone application
30 DEPENDS
:=+python
+fso-frameworkd
+python-evas
+python-ecore
+python-edje
+python-e_dbus
+python-etk
+python-elementary
+python-expat
+dbus-utils-x
31 URL
:=http
://paroli-project.org
34 define Package
/paroli
/description
35 Paroli is a phone suite written in Python which uses the FSO
(freesmartphone.org
) DBus API
39 $(call Build
/Compile
/PyMod
,,build
)
42 define Package
/paroli
/install
44 $(1)$(PYTHON_PKG_DIR
) \
46 $(1)/usr
/share
/applications
/paroli \
47 $(1)/usr
/share
/paroli
/services \
48 $(1)/usr
/share
/icons
/paroli \
49 $(1)/usr
/share
/elementary
/themes \
50 $(1)/usr
/share
/dbus-1
/system-services \
51 $(1)/etc
/dbus-1
/system.d \
53 $(1)/etc
/xdg
/autostart
57 $(PKG_BUILD_DIR
)/paroli-core
/tichy \
58 $(1)$(PYTHON_PKG_DIR
)/
60 $(PKG_BUILD_DIR
)/paroli-scripts
/paroli \
63 $(PKG_BUILD_DIR
)/data
/tichy \
64 $(1)/usr
/share
/icons
/paroli
/parolid.png
66 .
/files
/desktop-files
/parolid.desktop \
67 $(1)/etc
/xdg
/autostart
/
69 $(PKG_BUILD_DIR
)/data
/paroli.edj \
70 $(1)/usr
/share
/elementary
/themes
/
75 $(PKG_BUILD_DIR
)/data
/dbus
/tichy.conf \
76 $(1)/etc
/dbus-1
/system.d
/
78 $(PKG_BUILD_DIR
)/data
/dbus
/org.tichy.launcher.service \
79 $(1)//usr
/share
/dbus-1
/system-services
/
82 ## launcher (homescreen)
83 $(INSTALL_DIR
) $(1)/usr
/share
/paroli
/applications
/paroli-launcher2
85 $(PKG_BUILD_DIR
)/paroli-applications
/paroli-launcher2
/*.
{py
,edj
} \
86 $(1)/usr
/share
/paroli
/applications
/paroli-launcher2
88 $(INSTALL_DIR
) $(1)/usr
/share
/paroli
/applications
/tele2
90 $(PKG_BUILD_DIR
)/paroli-applications
/tele2
/*.
{py
,edj
} \
91 $(1)/usr
/share
/paroli
/applications
/tele2
93 $(PKG_BUILD_DIR
)/data
/tichy \
94 $(1)/usr
/share
/icons
/paroli
/tele.png
96 .
/files
/desktop-files
/tele.desktop \
97 $(1)/usr
/share
/applications
/paroli
/
99 #$(INSTALL_DIR) $(1)/usr/share/paroli/applications/msgs2
101 # $(PKG_BUILD_DIR)/paroli-applications/msgs2/*.{py,edj} \
102 # $(1)/usr/share/paroli/applications/msgs2
104 # $(PKG_BUILD_DIR)/data/tichy \
105 # $(1)/usr/share/icons/paroli/msgs.png
107 # ./files/desktop-files/msgs.desktop \
108 # $(1)/usr/share/applications/paroli/
109 ## people2 (contacts)
110 #$(INSTALL_DIR) $(1)/usr/share/paroli/applications/people2
112 # $(PKG_BUILD_DIR)/paroli-applications/people2/*.{py,edj} \
113 # $(1)/usr/share/paroli/applications/people2/
115 # $(PKG_BUILD_DIR)/data/tichy \
116 # $(1)/usr/share/icons/paroli/people.png
118 # ./files/desktop-files/people.desktop \
119 # $(1)/usr/share/applications/paroli/
120 ## i-o2 (incoming/outgoing)
121 #$(INSTALL_DIR) $(1)/usr/share/paroli/applications/i-o2
123 # $(PKG_BUILD_DIR)/paroli-applications/i-o2/*.{py,edj} \
124 # $(1)/usr/share/paroli/applications/i-o2/
126 # $(PKG_BUILD_DIR)/data/tichy \
127 # $(1)/usr/share/icons/paroli/i-o.png
129 # ./files/desktop-files/i-o.desktop \
130 # $(1)/usr/share/applications/paroli/
134 $(PKG_BUILD_DIR
)/paroli-services
/{dialog
,hardware
,phone
,gprs
,prefs
,system
} \
135 $(1)/usr
/share
/paroli
/services
/
138 $(eval
$(call BuildPackage
,paroli
))