[patchteam] - New Package - Python OpenSSL interface
alexander@sulfrian.net git-svn-id: svn://svn.openwrt.org/openwrt/packages@20174 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
38b870d7f0
commit
f9fd86cc37
48
lang/pyopenssl/Makefile
Normal file
48
lang/pyopenssl/Makefile
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2008 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=pyopenssl
|
||||||
|
PKG_VERSION:=0.10
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=pyOpenSSL-$(PKG_VERSION).tar.gz
|
||||||
|
PKG_SOURCE_URL:=http://pypi.python.org/packages/source/p/pyOpenSSL/
|
||||||
|
PKG_MD5SUM:=34db8056ec53ce80c7f5fc58bee9f093
|
||||||
|
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/pyOpenSSL-$(PKG_VERSION)
|
||||||
|
PKG_BUILD_DEPENDS:=python
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
$(call include_mk, python-package.mk)
|
||||||
|
|
||||||
|
define Package/pyopenssl
|
||||||
|
SUBMENU:=Python
|
||||||
|
SECTION:=lang
|
||||||
|
CATEGORY:=Languages
|
||||||
|
TITLE:=pyopenssl
|
||||||
|
URL:=http://pyopenssl.sourceforge.net/
|
||||||
|
DEPENDS:=+python
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/pyopenssl/description
|
||||||
|
Python interface to the OpenSSL library.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/pyopenssl/install
|
||||||
|
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
|
||||||
|
$(1)$(PYTHON_PKG_DIR)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,pyopenssl))
|
Loading…
x
Reference in New Issue
Block a user