1a7ebdeb62
modules in openwrt. Thanks to ryd for helping to make this possible. (Only numpy is completly broken now because it has dependencies which where pervioulsy taken from the build system) git-svn-id: svn://svn.openwrt.org/openwrt/packages@12821 3c298f89-4303-0410-b956-a3cf2f4a3e73
59 lines
1.2 KiB
Makefile
59 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ipython
|
|
PKG_VERSION:=0.8.2
|
|
PKG_RELEASE:=1
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://ipython.scipy.org/dist/
|
|
PKG_FIXUP:=libtool
|
|
PKG_MD5SUM:=fd5a1b6e518898a4aee8b8d8b428af70
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/ipython
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=ipython
|
|
URL:=http://ipython.scipy.org/dist/
|
|
endef
|
|
|
|
define Package/ipython/description
|
|
python bindings for dbus
|
|
endef
|
|
|
|
define Build/Configure
|
|
(cd $(PKG_BUILD_DIR); \
|
|
if [ -x $(CONFIGURE_CMD) ]; then \
|
|
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
|
|
$(CONFIGURE_VARS) \
|
|
PYTHON=/usr/bin/python \
|
|
$(CONFIGURE_CMD) \
|
|
$(CONFIGURE_ARGS) ;\
|
|
fi \
|
|
)
|
|
endef
|
|
|
|
define Build/Compile
|
|
cd $(PKG_BUILD_DIR) ; $(CONFIGURE_VARS) ./setup.py install --prefix="$(PKG_INSTALL_DIR)/usr"
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
mkdir -p $(1)
|
|
cp -r $(PKG_INSTALL_DIR)/* $(1)
|
|
endef
|
|
|
|
define Package/ipython/install
|
|
mkdir -p $(1)
|
|
cp -r $(PKG_INSTALL_DIR)/* $(1)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ipython))
|