buildroot/package/physfs/physfs.mk
Romain Naour 7a6dc427a2 package/physfs: bump to 3.0.1
Remove upstream patch.

Use the official archive and add a hash file.
Also add a license file hash.

Remove LGPL.txt license file since src/lzma directory has been removed
from the sources.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-11-29 21:13:16 +01:00

31 lines
769 B
Makefile

################################################################################
#
# physfs
#
################################################################################
PHYSFS_VERSION = 3.0.1
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))