2009-01-05 00:39:20 +00:00
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := fso
2009-01-13 01:03:29 +00:00
PKG_VERSION := 20090112
PKG_REV := 2c47aa00f530c4ec698c024b583f250373185b09
2009-01-05 00:39:20 +00:00
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := git://git.freesmartphone.org/framework.git
PKG_SOURCE_PROTO := git
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE_VERSION := $( PKG_REV)
PKG_BUILD_DEPENDS := cython python
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
- i n c l u d e $( if $ ( DUMP ) ,,$ ( STAGING_DIR ) /mk /python -package .mk )
2009-01-13 01:03:29 +00:00
i f e q ( $( CONFIG_TARGET_s 3c 24xx_openmoko -gta 02-graphical ) , y )
CONFIG = om_gta02
e n d i f
i f e q ( $( CONFIG_TARGET_s 3c 24xx_openmoko -gta 02-minimal ) , y )
CONFIG = om_gta02
e n d i f
2009-01-05 00:39:20 +00:00
d e f i n e P a c k a g e / f s o
SECTION:= phone
CATEGORY:= Phone
TITLE:= freesmartphone.org DBus API reference implementation
2009-01-13 01:03:29 +00:00
DEPENDS:= python-core +dbus-python +python-gobject +pyserial +pyyaml +gst-python
2009-01-05 00:39:20 +00:00
URL:= http://www.freesmartphone.org
e n d e f
d e f i n e P a c k a g e / f s o / d e s c r i p t i o n
freesmartphone.org is a collaboration platform for open source and open discussion software projects working on interoperability and shared technology for Linux-based SmartPhones
e n d e f
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/PyMod,,install --prefix= " $( PKG_INSTALL_DIR) /usr " )
e n d e f
d e f i n e P a c k a g e / f s o / i n s t a l l
2009-01-13 01:03:29 +00:00
$( INSTALL_DIR) $( 1) $( PYTHON_PKG_DIR) $( 1) /usr/bin $( 1) /etc/init.d
2009-01-05 00:39:20 +00:00
$( CP) \
$( PKG_INSTALL_DIR) $( PYTHON_PKG_DIR) /* \
$( 1) $( PYTHON_PKG_DIR)
2009-01-13 01:03:29 +00:00
$( INSTALL_BIN) \
2009-01-05 00:39:20 +00:00
$( PKG_INSTALL_DIR) /usr/bin/* \
$( 1) /usr/bin/
2009-01-13 01:03:29 +00:00
$( INSTALL_BIN) ./files/frameworkd.init $( 1) /etc/init.d/frameworkd
2009-01-05 00:39:20 +00:00
$( CP) \
$( PKG_INSTALL_DIR) /etc/* \
$( 1) /etc/
2009-01-13 01:03:29 +00:00
$( if $( CONFIG) ,$( INSTALL_CONF) ./files/frameworkd.conf.$( CONFIG) $( 1) /etc/frameworkd.conf,$( CP) ./files/frameworkd.conf $( 1) /etc/frameworkd.conf)
2009-01-05 00:39:20 +00:00
e n d e f
$( eval $ ( call BuildPackage ,fso ) )