python-id3: new package

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Dominik Faessler
2012-05-14 10:33:33 +02:00
committed by Peter Korsgaard
parent ef9f0eae32
commit b3e10d197d
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#############################################################
#
# python-id3
#
#############################################################
PYTHON_ID3_VERSION = 1.2
PYTHON_ID3_SOURCE = id3-py_$(PYTHON_ID3_VERSION).tar.gz
PYTHON_ID3_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/id3-py
PYTHON_ID3_DEPENDENCIES = python
define PYTHON_ID3_BUILD_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
endef
define PYTHON_ID3_INSTALL_TARGET_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
endef
$(eval $(call GENTARGETS))