mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
python-bottle: new package
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
50bdab9025
commit
0a3b19cdc9
22
package/python-bottle/python-bottle.mk
Normal file
22
package/python-bottle/python-bottle.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
#############################################################
|
||||
#
|
||||
# python-bottle
|
||||
#
|
||||
#############################################################
|
||||
|
||||
PYTHON_BOTTLE_VERSION = 0.11.4
|
||||
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
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
|
||||
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))
|
||||
Reference in New Issue
Block a user