python-id3: new package
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
ef9f0eae32
commit
b3e10d197d
|
@ -255,6 +255,7 @@ source "package/python/Config.in"
|
||||||
if BR2_PACKAGE_PYTHON
|
if BR2_PACKAGE_PYTHON
|
||||||
menu "external python modules"
|
menu "external python modules"
|
||||||
source "package/python-dpkt/Config.in"
|
source "package/python-dpkt/Config.in"
|
||||||
|
source "package/python-id3/Config.in"
|
||||||
source "package/python-mad/Config.in"
|
source "package/python-mad/Config.in"
|
||||||
source "package/python-netifaces/Config.in"
|
source "package/python-netifaces/Config.in"
|
||||||
source "package/python-pygame/Config.in"
|
source "package/python-pygame/Config.in"
|
||||||
|
|
9
package/python-id3/Config.in
Normal file
9
package/python-id3/Config.in
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
config BR2_PACKAGE_PYTHON_ID3
|
||||||
|
bool "python-id3"
|
||||||
|
depends on BR2_PACKAGE_PYTHON
|
||||||
|
help
|
||||||
|
This module allows one to read and manipulate so-called ID3
|
||||||
|
informational tags on MP3 files through an object-oriented
|
||||||
|
Python interface.
|
||||||
|
|
||||||
|
http://id3-py.sourceforge.net/
|
21
package/python-id3/python-id3.mk
Normal file
21
package/python-id3/python-id3.mk
Normal 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))
|
Loading…
Reference in a new issue