summaryrefslogtreecommitdiffstats
path: root/package/python-id3/python-id3.mk
blob: e1ed1b606e30d0fcf9a2e8e086c9f4c09f9a9cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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))