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
:=08c924538448e7de202432f470564764852df8a6
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
+python-evas
+python-ecore
+python-edje
+python-e_dbus \
31 +python-etk
+python-expat
32 URL
:=http
://wiki.openmoko.org
/wiki
/Paroli
40 define Package
/paroli
/description
41 Paroli is an integrated phone application written in Python which uses the FSO
(freesmartphone.org
) DBus API
45 $(call Build
/Compile
/PyMod
,,build
)
46 $(call Build
/Compile
/PyMod
,,install --prefix="$(PKG_INSTALL_DIR)/usr")
49 define Package
/paroli
/install
50 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
) $(1)/usr
/bin
$(1)/usr
/share
/applications
/paroli
$(1)/usr
/share
/paroli
/services
$(1)/usr
/share
/icons
/paroli
$(1)/etc
/xdg
/autostart
52 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
55 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
57 $(foreach c
, $(COMPONENTS
), \
58 $(INSTALL_DIR
) $(1)/usr
/share
/paroli
/applications
/$(c
)
59 $(CP
) $(PKG_INSTALL_DIR
)/..
/usr
/share
/paroli
/applications
/$(c
)/$(c
).
{py
,edj
} $(1)/usr
/share
/paroli
/applications
/$(c
)/
60 # $(CP) $(PKG_INSTALL_DIR)/../usr/share/paroli/applications/$(c)/icon.png $(1)/usr/share/icons/paroli/$(c).png
61 $(CP
) $(PKG_INSTALL_DIR
)/..
/data
/tichy
$(1)/usr
/share
/icons
/paroli
/$(c
).png
62 $(CP
) $(PKG_INSTALL_DIR
)/usr
/applications
/$(c
).desktop
$(1)/usr
/share
/applications
/paroli
/
65 $(PKG_INSTALL_DIR
)/..
/usr
/share
/paroli
/services
/* \
66 $(1)/usr
/share
/paroli
/services
/
68 $(PKG_INSTALL_DIR
)/..
/data
/tichy \
69 $(1)/usr
/share
/icons
/paroli
/parolid.png
71 $(PKG_INSTALL_DIR
)/usr
/applications
/parolid.desktop \
72 $(1)/etc
/xdg
/autostart
/
74 $(PKG_INSTALL_DIR
)/..
/etc
/* \
76 $(CP
) .
/files
/paroli.cfg
$(1)/etc
/paroli.cfg
79 $(eval
$(call BuildPackage
,paroli
))