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
10 PKG_NAME
:=logilab-astng
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=ftp
://ftp.logilab.fr
/pub
/astng
/
16 PKG_MD5SUM
:=a654d65a4644fb984d840906cf8b27d5
18 include $(INCLUDE_DIR
)/package.mk
19 $(call include_mk
, python-package.mk
)
21 define Package
/logilab-astng
26 URL
:=http
://www.logilab.fr
30 define Package
/logilab-astng
/description
31 The aim of this module is to provide a common base representation of python source code for projects such
as pychecker
, pyreverse
, pylint...
35 $(if
$(Build
/Compile
/PyMod
),,@echo Python packaging code not found.
; false
)
36 $(call Build
/Compile
/PyMod
,.
, \
37 install --prefix="$(PKG_INSTALL_DIR)/usr", \
41 define Package
/logilab-astng
/install
43 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
46 $(eval
$(call BuildPackage
,logilab-astng
))