2 # Copyright (C) 2008-2010 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/
16 PKG_MD5SUM:=fd5a1b6e518898a4aee8b8d8b428af70
18 include $(INCLUDE_DIR)/package.mk
20 define Package/ipython
25 URL:=http://ipython.scipy.org/
28 define Package/ipython/description
29 An enhanced interactive Python shell from the SciPy project
32 define Build/Configure
33 (cd $(PKG_BUILD_DIR); \
34 if [ -x $(CONFIGURE_CMD) ]; then \
35 $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
37 PYTHON=/usr/bin/python \
45 cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr"
48 define Build/InstallDev
50 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
53 define Package/ipython/install
55 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
58 $(eval $(call BuildPackage,ipython))