2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=pyOpenSSL-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://pypi.python.org
/packages
/source
/p
/pyOpenSSL
/
16 PKG_MD5SUM
:=34db8056ec53ce80c7f5fc58bee9f093
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/pyOpenSSL-
$(PKG_VERSION
)
19 PKG_BUILD_DEPENDS
:=python
21 include $(INCLUDE_DIR
)/package.mk
22 $(call include_mk
, python-package.mk
)
24 define Package
/pyopenssl
29 URL
:=http
://pyopenssl.sourceforge.net
/
33 define Package
/pyopenssl
/description
34 Python interface to the OpenSSL library.
38 $(call Build
/Compile
/PyMod
,,install --prefix="$(PKG_INSTALL_DIR)/usr")
41 define Package
/pyopenssl
/install
42 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
44 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
48 $(eval
$(call BuildPackage
,pyopenssl
))