kumquat-buildroot/package/shapelib/shapelib.mk
Zoltan Gyarmati 2655d676f0 shapelib: new package
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
[Thomas:
 - adjust the license: it's MIT or LGPLv2, add web/license.html to the
   license files
 - rewrap Config.in help text
 - add entry to the DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-21 15:55:23 +02:00

26 lines
678 B
Makefile

################################################################################
#
# 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
$(MAKE) -C $(@D) PREFIX=$(STAGING_DIR)/usr/ lib_install
endef
define SHAPELIB_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr/ bin_install
endef
$(eval $(generic-package))