source: packages/lang/logilab-astng/Makefile @ 11346

Last change on this file since 11346 was 11346, checked in by blogic, 8 years ago

add lots of python dependencies of sugar

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=logilab-astng
11PKG_VERSION:=0.17.2
12PKG_RELEASE:=1
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=ftp://ftp.logilab.fr/pub/astng/
15
16include $(INCLUDE_DIR)/package.mk
17-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
18ifneq ($(MAKECMDGOALS),download)
19  $(if $(DUMP)$(Build/Compile/PyMod),,$(error Python packaging code not found.))
20endif
21
22define Package/logilab-astng
23  SUBMENU:=Python
24  SECTION:=lang
25  CATEGORY:=Languages
26  TITLE:=logilab-astng
27  URL:=http://www.logilab.fr
28  DEPENDS:=python-core
29endef
30
31define 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...
33endef
34
35define Build/Compile
36        $(call Build/Compile/PyMod,., \
37                install --prefix="$(PKG_INSTALL_DIR)/usr", \
38        )
39endef
40
41define Package/logilad-astng/install
42        mkdir -p $(1)
43        cp -r $(PKG_INSTALL_DIR)/* $(1)
44endef
45
46$(eval $(call PyPackage,logilab-astng))
47$(eval $(call BuildPackage,logilab-astng))
Note: See TracBrowser for help on using the repository browser.