logrotate: enable selinux support
[buildroot-gz.git] / package / python-mad / python-mad.mk
blob5a49887a82f8e4b4843ec448f35f78c4a66832d6
1 ################################################################################
3 # python-mad
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
18 else
19 PYTHON_MAD_ENDIAN = big
20 endif
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
27 endef
29 $(eval $(python-package))