kumquat-buildroot/package/physfs/physfs.mk
Rahul Bedarkar 2093053106 packages: use SPDX short identifier for zlib license
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for zlib license is Zlib.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/zlib( )?(license)?/Zlib/g'

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

31 lines
836 B
Makefile

################################################################################
#
# physfs
#
################################################################################
PHYSFS_VERSION = be27dfd07d97336145e7f49d3fd200a6e902f85e
PHYSFS_SITE = https://hg.icculus.org/icculus/physfs
PHYSFS_SITE_METHOD = hg
PHYSFS_LICENSE = Zlib (physfs), LGPL with exceptions (lzma)
PHYSFS_LICENSE_FILES = LICENSE.txt src/lzma/LGPL.txt
PHYSFS_INSTALL_STAGING = YES
PHYSFS_CONF_OPTS = -DPHYSFS_BUILD_TEST=OFF
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_SHARED=ON
else
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_SHARED=OFF
endif
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_STATIC=ON
else
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_STATIC=OFF
endif
$(eval $(cmake-package))