kumquat-buildroot/package/python-pyasn/python-pyasn.mk
Ryan Barnett fe6e7a4f13 python-pyasn: new package
[Peter: license is LGPLv3+ / GPLv2+]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-15 14:01:00 +01:00

20 lines
626 B
Makefile

################################################################################
#
# python-pyasn
#
################################################################################
PYTHON_PYASN_VERSION = 1.2
PYTHON_PYASN_SOURCE = PyASN-$(PYTHON_PYASN_VERSION).zip
PYTHON_PYASN_SITE = https://pyasn.googlecode.com/files
PYTHON_PYASN_LICENSE = LGPLv3+ (pyasn.cpp), GPLv2+ (libgds)
PYTHON_PYASN_SETUP_TYPE = distutils
define PYTHON_PYASN_EXTRACT_CMDS
unzip -d $(@D) $(DL_DIR)/$(PYTHON_PYASN_SOURCE)
mv $(@D)/PyASN-$(PYTHON_PYASN_VERSION)/* $(@D)
$(RM) -r $(@D)/PyASN-$(PYTHON_PYASN_VERSION)
endef
$(eval $(python-package))