aea174b1586738970a4119b0c14aa8410546f6dc
[openwrt/svn-archive/archive.git] / phone / fso / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=fso
11 PKG_VERSION:=20090103
12 PKG_REV:=cbddf72db7ee7f06c5863bce6d4055652e66b25b
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=git://git.freesmartphone.org/framework.git
17 PKG_SOURCE_PROTO:=git
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_VERSION:=$(PKG_REV)
20
21 PKG_BUILD_DEPENDS:=cython python
22
23 include $(INCLUDE_DIR)/package.mk
24 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
25
26 define Package/fso
27 SECTION:=phone
28 CATEGORY:=Phone
29 TITLE:=freesmartphone.org DBus API reference implementation
30 DEPENDS:=python-core +dbus
31 URL:=http://www.freesmartphone.org
32 endef
33
34 define Package/fso/description
35 freesmartphone.org is a collaboration platform for open source and open discussion software projects working on interoperability and shared technology for Linux-based SmartPhones
36 endef
37
38 define Build/Compile
39 $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
40 endef
41
42 define Package/fso/install
43 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(1)/usr/bin $(1)/etc
44 $(CP) \
45 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
46 $(1)$(PYTHON_PKG_DIR)
47 $(CP) \
48 $(PKG_INSTALL_DIR)/usr/bin/* \
49 $(1)/usr/bin/
50 $(CP) \
51 $(PKG_INSTALL_DIR)/etc/* \
52 $(1)/etc/
53 endef
54
55 $(eval $(call BuildPackage,fso))