2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-01-11 21:46:44 +01:00
|
|
|
#
|
|
|
|
# python-mad
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-01-11 21:46:44 +01:00
|
|
|
|
|
|
|
PYTHON_MAD_VERSION = 0.6
|
2014-06-24 20:55:37 +02:00
|
|
|
PYTHON_MAD_SOURCE = pymad-$(PYTHON_MAD_VERSION).tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
PYTHON_MAD_SITE = http://spacepants.org/src/pymad/download
|
2013-12-11 21:26:43 +01:00
|
|
|
PYTHON_MAD_SETUP_TYPE = distutils
|
2014-06-24 20:55:37 +02:00
|
|
|
PYTHON_MAD_LICENSE = GPLv2+
|
|
|
|
PYTHON_MAD_LICENSE_FILES = COPYING
|
2011-01-11 21:46:44 +01:00
|
|
|
|
2013-12-11 21:26:43 +01:00
|
|
|
PYTHON_MAD_DEPENDENCIES = libmad
|
2011-01-11 21:46:44 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_ENDIAN),"LITTLE")
|
|
|
|
PYTHON_MAD_ENDIAN=little
|
|
|
|
else
|
|
|
|
PYTHON_MAD_ENDIAN=big
|
|
|
|
endif
|
|
|
|
|
|
|
|
define PYTHON_MAD_CONFIGURE_CMDS
|
|
|
|
echo "endian = $(PYTHON_MAD_ENDIAN)" > $(@D)/Setup
|
|
|
|
echo "mad_libs = mad" >> $(@D)/Setup
|
|
|
|
echo "mad_lib_dir = $(STAGING_DIR)/usr/lib" >> $(@D)/Setup
|
|
|
|
echo "mad_include_dir = $(STAGING_DIR)/usr/include" >> $(@D)/Setup
|
|
|
|
endef
|
|
|
|
|
2013-12-11 21:26:43 +01:00
|
|
|
$(eval $(python-package))
|