9254f02266
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2/LGPLv2+ is LGPL-2.0/LGPL-2.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2(\+)?/LGPL-2.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
730 B
Makefile
26 lines
730 B
Makefile
################################################################################
|
|
#
|
|
# shapelib
|
|
#
|
|
################################################################################
|
|
|
|
SHAPELIB_VERSION = 1.3.0
|
|
SHAPELIB_SITE = http://download.osgeo.org/shapelib
|
|
SHAPELIB_LICENSE = MIT or LGPL-2.0
|
|
SHAPELIB_LICENSE_FILES = web/license.html LICENSE.LGPL
|
|
SHAPELIB_INSTALL_STAGING = YES
|
|
|
|
define SHAPELIB_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define SHAPELIB_INSTALL_STAGING_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(STAGING_DIR)/usr/ lib_install
|
|
endef
|
|
|
|
define SHAPELIB_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr/ bin_install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|