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
10 PKG_NAME
:=fso-frameworkd
12 PKG_REV
:=74fc21962e9bbc7f2a89c74f12c15ce1b5861bfb
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=git
://git.freesmartphone.org
/framework.git
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
21 PKG_BUILD_DEPENDS
:=cython python
23 include $(INCLUDE_DIR
)/package.mk
24 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
26 ifeq ($(CONFIG_TARGET_s3c24xx
),y
)
30 define Package
/fso-frameworkd
33 TITLE
:=framework for the freesmartphone.org DBus API reference implementation
34 DEPENDS
:=+python
+dbus-python
+python-gobject
+pyserial
+pyyaml \
35 +gst-python
+alsa-utils
+freerunner-alsa-scenarios
36 URL
:=http
://www.freesmartphone.org
39 define Package
/fso-frameworkd
/description
40 freesmartphone.org is a collaboration platform for open source and open discussion software projects working on interoperability and shared technology for Linux-based SmartPhones
44 $(call Build
/Compile
/PyMod
,,install --prefix="$(PKG_INSTALL_DIR)/usr")
47 define Package
/fso-frameworkd
/install
48 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
) $(1)/usr
/bin
$(1)/etc
/init.d
50 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
53 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
55 $(INSTALL_BIN
) .
/files
/frameworkd.init
$(1)/etc
/init.d
/frameworkd
57 $(PKG_INSTALL_DIR
)/..
/etc
/* \
59 $(if
$(CONFIG
),$(INSTALL_CONF
) .
/files
/frameworkd.conf.
$(CONFIG
) $(1)/etc
/frameworkd.conf
,$(CP
) .
/files
/frameworkd.conf
$(1)/etc
/frameworkd.conf
)
62 $(eval
$(call BuildPackage
,fso-frameworkd
))