source: packages/lang/logilab-common/Makefile @ 19719

Last change on this file since 19719 was 19719, checked in by lars, 7 years ago

[packages] Add missing md5sums

File size: 1.1 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-common
11PKG_VERSION:=0.29.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=ftp://ftp.logilab.fr/pub/common/
16PKG_MD5SUM:=90f679e0d4ed19e2bf083fb932cde922
17
18include $(INCLUDE_DIR)/package.mk
19-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
20
21define 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
28endef
29
30define Package/logilab-common/description
31  a bunch of modules providing low level functionnalities shared among some python projects devel
32endef
33
34define 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        )
39endef
40
41define Package/logilab-common/install
42        $(INSTALL_DIR) $(1)
43        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
44endef
45
46$(eval $(call BuildPackage,logilab-common))
Note: See TracBrowser for help on using the repository browser.