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
://downloads.sourceforge.net
/numpy
/
15 PKG_MD5SUM
:=8f011e9d7697da570efaac61c51725e0
17 include $(INCLUDE_DIR
)/package.mk
24 URL
:=http
://numpy.sf.net
25 DEPENDS
:=python-core @TARGET_x86||TARGET_olpc||TARGET_uml
28 define Package
/numpy
/description
29 API to GTK and glade library from python
33 cd
$(PKG_BUILD_DIR
) ; $(CONFIGURE_VARS
) $(MAKE_VARS
) python2.5 .
/setup.py
install --prefix="$(PKG_INSTALL_DIR)/usr"
34 sed
-i
"s/UCS4/UCS2/g" $(PKG_INSTALL_DIR
)/usr
/lib
/python2.5
/site-packages
/numpy
/core
/multiarray.so
37 define Package
/numpy
/install
39 cp
-r
$(PKG_INSTALL_DIR
)/* $(1)
42 $(eval
$(call BuildPackage
,numpy
))
44 define Require
/python25-dev
45 [ -e
/usr
/include/python2.5
/pyconfig.h
]
48 $(eval
$(call Require
,python25-dev
, \
49 Please
install Python
2.5 (including development headers and libraries
) \