From: Dominik Faessler <faessler@was.ch>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] python-id3: new package
Date: Mon, 14 May 2012 10:33:33 +0200 [thread overview]
Message-ID: <4FB0C35D.2020007@was.ch> (raw)
---
package/Config.in | 1 +
package/python-id3/Config.in | 9 +++++++++
package/python-id3/python-id3.mk | 21 +++++++++++++++++++++
3 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 package/python-id3/Config.in
create mode 100644 package/python-id3/python-id3.mk
diff --git a/package/Config.in b/package/Config.in
index fb1b08f..a89e646 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -255,6 +255,7 @@ source "package/python/Config.in"
if BR2_PACKAGE_PYTHON
menu "external python modules"
source "package/python-dpkt/Config.in"
+source "package/python-id3/Config.in"
source "package/python-mad/Config.in"
source "package/python-netifaces/Config.in"
source "package/python-pygame/Config.in"
diff --git a/package/python-id3/Config.in b/package/python-id3/Config.in
new file mode 100644
index 0000000..6ddfd54
--- /dev/null
+++ b/package/python-id3/Config.in
@@ -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/
diff --git a/package/python-id3/python-id3.mk
b/package/python-id3/python-id3.mk
new file mode 100644
index 0000000..907dc63
--- /dev/null
+++ b/package/python-id3/python-id3.mk
@@ -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))
--
1.7.2.5
next reply other threads:[~2012-05-14 8:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 8:33 Dominik Faessler [this message]
2012-05-14 20:43 ` [Buildroot] [PATCH] python-id3: new package Peter Korsgaard
2012-05-14 20:47 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB0C35D.2020007@was.ch \
--to=faessler@was.ch \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.