[packages] php5: prepare pecl macros to distinguish between normal and zend extensions
[packages.git] / lang / logilab-common / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=logilab-common
11 PKG_VERSION:=0.29.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ftp.logilab.fr/pub/common/
16 PKG_MD5SUM:=90f679e0d4ed19e2bf083fb932cde922
17
18 include $(INCLUDE_DIR)/package.mk
19 $(call include_mk, python-package.mk)
20
21 define Package/logilab-common
22   SUBMENU:=Python
23   SECTION:=lang
24   CATEGORY:=Languages
25   TITLE:=logilab-common
26   URL:=http://www.logilab.fr
27   DEPENDS:=+python-mini
28 endef
29
30 define Package/logilab-common/description
31   a bunch of modules providing low level functionnalities shared among some python projects devel
32 endef
33
34 define Build/Compile
35         $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
36         $(call Build/Compile/PyMod,., \
37                 install --prefix="$(PKG_INSTALL_DIR)/usr", \
38         )
39 endef
40
41 define Package/logilab-common/install
42         $(INSTALL_DIR) $(1)
43         $(CP) $(PKG_INSTALL_DIR)/* $(1)/
44 endef
45
46 $(eval $(call BuildPackage,logilab-common))