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
)
18 ifneq ($(MAKECMDGOALS
),download
)
19 $(if
$(DUMP
)$(Build
/Compile
/PyMod
),,$(error Python packaging code not found.
))
22 define Package
/logilab-astng
27 URL
:=http
://www.logilab.fr
31 define Package
/logilab-astng
/description
32 The aim of this module is to provide a common base representation of python source code for projects such
as pychecker
, pyreverse
, pylint...
36 $(call Build
/Compile
/PyMod
,.
, \
37 install --prefix="$(PKG_INSTALL_DIR)/usr", \
41 define Package
/logilad-astng
/install
43 cp
-r
$(PKG_INSTALL_DIR
)/* $(1)
46 $(eval
$(call PyPackage
,logilab-astng
))
47 $(eval
$(call BuildPackage
,logilab-astng
))