708eda47cb
Updated License file hash due to updated copyright year for 2019. See: https://icculus.org/pipermail/physfs/2019-March/001280.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
31 lines
769 B
Makefile
31 lines
769 B
Makefile
################################################################################
|
|
#
|
|
# physfs
|
|
#
|
|
################################################################################
|
|
|
|
PHYSFS_VERSION = 3.0.2
|
|
PHYSFS_SOURCE = physfs-$(PHYSFS_VERSION).tar.bz2
|
|
PHYSFS_SITE = https://icculus.org/physfs/downloads
|
|
|
|
PHYSFS_LICENSE = Zlib
|
|
PHYSFS_LICENSE_FILES = LICENSE.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))
|