1 ################################################################################
5 ################################################################################
7 PYTHON_MAD_VERSION
= 0.6
8 PYTHON_MAD_SOURCE
= pymad-
$(PYTHON_MAD_VERSION
).
tar.gz
9 PYTHON_MAD_SITE
= http
://spacepants.org
/src
/pymad
/download
10 PYTHON_MAD_SETUP_TYPE
= distutils
11 PYTHON_MAD_LICENSE
= GPLv2
+
12 PYTHON_MAD_LICENSE_FILES
= COPYING
14 PYTHON_MAD_DEPENDENCIES
= libmad
16 ifeq ($(BR2_ENDIAN
),"LITTLE")
17 PYTHON_MAD_ENDIAN
= little
19 PYTHON_MAD_ENDIAN
= big
22 define PYTHON_MAD_CONFIGURE_CMDS
23 echo
"endian = $(PYTHON_MAD_ENDIAN)" > $(@D
)/Setup
24 echo
"mad_libs = mad" >> $(@D
)/Setup
25 echo
"mad_lib_dir = $(STAGING_DIR)/usr/lib" >> $(@D
)/Setup
26 echo
"mad_include_dir = $(STAGING_DIR)/usr/include" >> $(@D
)/Setup
29 $(eval
$(python-package
))