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
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=ftp
://ftp.logilab.fr
/pub
/astng
/
16 include $(INCLUDE_DIR
)/package.mk
17 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
19 define Package
/logilab-astng
24 URL
:=http
://www.logilab.fr
28 define Package
/logilab-astng
/description
29 The aim of this module is to provide a common base representation of python source code for projects such
as pychecker
, pyreverse
, pylint...
33 $(if
$(Build
/Compile
/PyMod
),,@echo Python packaging code not found.
; false
)
34 $(call Build
/Compile
/PyMod
,.
, \
35 install --prefix="$(PKG_INSTALL_DIR)/usr", \
39 define Package
/logilab-astng
/install
41 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
44 $(eval
$(call BuildPackage
,logilab-astng
))