2016-07-31 14:45:50 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# shapelib
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
SHAPELIB_VERSION = 1.3.0
|
|
|
|
SHAPELIB_SITE = http://download.osgeo.org/shapelib
|
|
|
|
SHAPELIB_LICENSE = MIT or LGPLv2
|
|
|
|
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
|
2016-10-17 18:06:32 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(STAGING_DIR)/usr/ lib_install
|
2016-07-31 14:45:50 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define SHAPELIB_INSTALL_TARGET_CMDS
|
2016-10-17 18:06:32 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr/ bin_install
|
2016-07-31 14:45:50 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|