kumquat-buildroot/package/python-mad/python-mad.mk
Rahul Bedarkar af31c309e7 boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+
We want to use SPDX identifier for license strings as much as possible.
SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+.

This change is done by using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:16:38 +02:00

30 lines
830 B
Makefile

################################################################################
#
# python-mad
#
################################################################################
PYTHON_MAD_VERSION = 0.6
PYTHON_MAD_SOURCE = pymad-$(PYTHON_MAD_VERSION).tar.gz
PYTHON_MAD_SITE = http://spacepants.org/src/pymad/download
PYTHON_MAD_SETUP_TYPE = distutils
PYTHON_MAD_LICENSE = GPL-2.0+
PYTHON_MAD_LICENSE_FILES = COPYING
PYTHON_MAD_DEPENDENCIES = libmad
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
$(eval $(python-package))