2 # Copyright (C) 2008 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
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=http
://ipython.scipy.org
/dist/
17 include $(INCLUDE_DIR
)/package.mk
19 define Package
/ipython
23 TITLE
:=python bindings for dbus
24 URL
:=http
://ipython.scipy.org
/dist/
27 define Package
/ipython
/description
28 python bindings for dbus
31 define Build
/Configure
32 (cd
$(PKG_BUILD_DIR
); \
33 if
[ -x
$(CONFIGURE_CMD
) ]; then \
34 $(CP
) $(SCRIPT_DIR
)/config.
{guess
,sub
} $(PKG_BUILD_DIR
)/ && \
36 PYTHON
=/usr
/bin
/python \
44 cd
$(PKG_BUILD_DIR
) ; $(CONFIGURE_VARS
) .
/setup.py
install --prefix="$(PKG_INSTALL_DIR)/usr"
47 define Build
/InstallDev
49 cp
-r
$(PKG_INSTALL_DIR
)/* $(1)
52 define Package
/ipython
/install
54 cp
-r
$(PKG_INSTALL_DIR
)/* $(1)
57 $(eval
$(call BuildPackage
,ipython
))