source: packages/lang/pyclips/Makefile @ 27884

Last change on this file since 27884 was 27884, checked in by hcg, 5 years ago

[packages] pyclips: Add new package pyclips

File size: 1.0 KB
Line 
1#
2# Copyright (C) 2011 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:=pyclips
11PKG_VERSION:=1.0.7.348
12PKG_RELEASE:=1
13
14PKG_SOURCE:=pyclips-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/pyclips
16PKG_MD5SUM:=c548d62ec951bf9f98c86c70815ed27c
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/pyclips
19PKG_BUILD_DEPENDS:=python
20
21include $(INCLUDE_DIR)/package.mk
22$(call include_mk, python-package.mk)
23
24define Package/pyclips
25  SUBMENU:=Python
26  SECTION:=lang
27  CATEGORY:=Languages
28  TITLE:=pyclips
29  URL:=http://sourceforge.net/projects/pyclips/
30  DEPENDS:=+python
31endef
32
33define Package/pyclips/description
34  Python module to interface the CLIPS expert system shell library.
35endef
36
37define Build/Compile
38        $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
39endef
40
41define Package/pyclips/install
42        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
43        $(CP) \
44            $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
45            $(1)$(PYTHON_PKG_DIR)
46endef
47
48$(eval $(call BuildPackage,pyclips))
Note: See TracBrowser for help on using the repository browser.