Files
CoreMP135_buildroot/package/python-bottle/python-bottle.mk
T

23 lines
756 B
Makefile
Raw Normal View History

2013-06-05 23:53:30 +00:00
################################################################################
2012-12-18 16:14:44 +01:00
#
# python-bottle
#
2013-06-05 23:53:30 +00:00
################################################################################
2012-12-18 16:14:44 +01:00
2013-04-13 06:56:49 +00:00
PYTHON_BOTTLE_VERSION = 0.11.6
2012-12-18 16:14:44 +01:00
PYTHON_BOTTLE_SOURCE = bottle-$(PYTHON_BOTTLE_VERSION).tar.gz
PYTHON_BOTTLE_SITE = http://pypi.python.org/packages/source/b/bottle
PYTHON_BOTTLE_DEPENDENCIES = python
PYTHON_BOTTLE_LICENSE = MIT
# README.rst refers to the file "LICENSE" but it's not included
define PYTHON_BOTTLE_BUILD_CMDS
2013-04-13 06:56:49 +00:00
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build --executable=/usr/bin/python)
2012-12-18 16:14:44 +01:00
endef
define PYTHON_BOTTLE_INSTALL_TARGET_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
endef
$(eval $(generic-package))